Re: question on how to correctly communicate with external library functions which return malloc()'ed strings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: question on how to correctly communicate with external library functions which return malloc()'ed strings
Date
Msg-id 15960.1207942785@sss.pgh.pa.us
Whole thread Raw
In response to Re: question on how to correctly communicate with external library functions which return malloc()'ed strings  (Vladimir Volovich <vvv@vsu.ru>)
Responses Re: question on how to correctly communicate with external library functions which return malloc()'ed strings  (Vladimir Volovich <vvv@vsu.ru>)
List pgsql-hackers
Vladimir Volovich <vvv@vsu.ru> writes:
> but please remove the "#define free" from snowball/header.h because, as
> you said, it's wrong.

It's not wrong and it won't be removed.  Please note the header comment
in that file:
* NOTE: this file should not be included into any non-snowball sources!
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Proposal: real procedures again (8.4)
Next
From: Vladimir Volovich
Date:
Subject: Re: question on how to correctly communicate with external library functions which return malloc()'ed strings