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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vladimir Volovich <vvv(at)vsu(dot)ru>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: question on how to correctly communicate with external library functions which return malloc()'ed strings
Date: 2008-04-11 19:39:45
Message-ID: 15960.1207942785@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Vladimir Volovich <vvv(at)vsu(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vladimir Volovich 2008-04-11 19:59:42 Re: question on how to correctly communicate with external library functions which return malloc()'ed strings
Previous Message Bruce Momjian 2008-04-11 19:38:53 Re: Proposal: real procedures again (8.4)