Re: [HACKERS] Problems with SPI memory management

From: "Katsaros Kwn/nos" <ntinos(at)aueb(dot)gr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres Hackers <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: [HACKERS] Problems with SPI memory management
Date: 2004-09-16 09:43:22
Message-ID: 1095327802.21786.18.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, 2004-09-15 at 19:51, Tom Lane wrote:
> You'd be well advised to be doing this sort of hackery in a build with
> --enable-cassert. That turns on CLOBBER_FREED_MEMORY which makes
> misuse of freed memory a whole lot more obvious.

I did this but when I try do create a function the following message is
displayed:

" ERROR: could not load library
"/usr/local/pgsql2/PLANSandTESTS/libtimes.so":
/usr/local/pgsql2/PLANSandTESTS/libtimes.so: undefined symbol:
assert_enabled "

Any ideas? Is there any file I should include during compilation? I
couldn't find any HOW-TO or something.

Regards,
Ntinoas Katsaros

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Najib Abi Fadel 2004-09-16 09:51:12 Re: pg_dump in cycle
Previous Message Paramveer.Singh 2004-09-16 09:42:37 Re: schema level variables

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2004-09-16 11:48:20 Re: subtransaction assert failure
Previous Message Dennis Bjorklund 2004-09-16 08:54:45 Re: subtransaction assert failure