From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Zeugswetter Andreas ADI SD <ZeugswetterA(at)spardat(dot)at> |
Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: libpq docs about PQfreemem |
Date: | 2007-02-19 22:06:28 |
Message-ID: | 200702192206.l1JM6SB29214@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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 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 to force code generation
> for "Multithreaded DLL" run-time libraries (e.g. in VC6 msvcrt.dll)
> for all exe's and dll's.
> This is bad for debugging, memory checkers and probably impossible
> when using different compilers.
> So you really need PQfreemem.
>
> Andreas
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Attachment | Content-Type | Size |
---|---|---|
/rtmp/diff | text/x-diff | 1.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Jakub Ouhrabka | 2007-02-19 22:15:26 | Re: Howto change db cluster locale on-the-fly |
Previous Message | Bruce Momjian | 2007-02-19 21:36:51 | Re: [previously on HACKERS] "Compacting" a relation |