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 w
> > 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
On Mon, Feb 05, 2007 at 05:21:34PM -0500, Bruce Momjian wrote:
> Magnus Hagander wrote:
> > have this about PQfreemem():
> >
> > Frees memory allocated by libpq, particularly
> >PQescapeByteaConn,
> >PQescapeBytea,
> >PQunescapeBytea,
> >and PQnotifies.
> >It is needed by Micro
Magnus Hagander wrote:
> have this about PQfreemem():
>
> Frees memory allocated by libpq, particularly
>PQescapeByteaConn,
>PQescapeBytea,
>PQunescapeBytea,
>and PQnotifies.
>It is needed by Microsoft Windows, which cannot free memory across
>DLLs, unless multithreaded DLL
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
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
have this about PQfreemem():
Frees memory allocated by libpq, particularly
PQescapeByteaConn,
PQescapeBytea,
PQunescapeBytea,
and PQnotifies.
It is needed by Microsoft Windows, which cannot free memory across
DLLs, unless multithreaded DLLs (/MD in VC6) are used.
On other plat