Re: libpq docs about PQfreemem

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas ADI SD
Тема Re: libpq docs about PQfreemem
Дата
Msg-id E1539E0ED7043848906A8FF995BDA57901C12E32@m0143.s-mxs.net
обсуждение исходный текст
Ответ на Re: libpq docs about PQfreemem  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: libpq docs about PQfreemem
Список pgsql-hackers
> > 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: jon5pg@streamy.com
Дата:
Сообщение: Re: Pl/pgsql functions causing crashes in 8.2.2
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: Proposed adjustments in MaxTupleSize andtoastthresholds