I have updated the PQfree documentation; patch attached. Backpatched
to 8.2.X.
---
Zeugswetter Andreas ADI SD wrote:
future for some reason. (the doc for the other functions say you
have to
use PQfreemem without
On Mon, Feb 05, 2007 at 05:21:34PM -0500, Bruce Momjian wrote:
Magnus Hagander wrote:
have this about PQfreemem():
Frees memory allocated by applicationlibpq/, particularly
functionPQescapeByteaConn/function,
functionPQescapeBytea/function,
functionPQunescapeBytea/function,
future for some reason. (the doc for the other functions say you
have to
use PQfreemem without mentioning any exceptions)
Thoughts? Rip out or update?
Are you saying that almost all Win32 binaries and libraries now can
free
across DLLs?
You can under very narrow conditions. You need
Magnus Hagander wrote:
have this about PQfreemem():
Frees memory allocated by applicationlibpq/, particularly
functionPQescapeByteaConn/function,
functionPQescapeBytea/function,
functionPQunescapeBytea/function,
and functionPQnotifies/function.
It is needed by Microsoft
have this about PQfreemem():
Frees memory allocated by applicationlibpq/, particularly
functionPQescapeByteaConn/function,
functionPQescapeBytea/function,
functionPQunescapeBytea/function,
and functionPQnotifies/function.
It is needed by Microsoft Windows, which cannot free memory
Magnus Hagander wrote:
Now, there are two options for this. Either we fix it (I can put
together a patch), or we remove it altogether. To me, it seems to be
just an implementation detail and some kind of explanation why we're
doing it - which would live better in a source code comment than in
Peter Eisentraut wrote:
Magnus Hagander wrote:
Now, there are two options for this. Either we fix it (I can put
together a patch), or we remove it altogether. To me, it seems to be
just an implementation detail and some kind of explanation why we're
doing it - which would live better in a