Re: Problems with SPI memory management - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Problems with SPI memory management
Date
Msg-id 29194.1095358360@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problems with SPI memory management  ("Katsaros Kwn/nos" <ntinos@aueb.gr>)
List pgsql-hackers
"Katsaros Kwn/nos" <ntinos@aueb.gr> writes:
> 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 "

You need to rebuild the whole backend, not just your function.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump --exclude-schema=foo
Next
From: Gaetano Mendola
Date:
Subject: problem permission on view