Re: big text field -> message type 0x44

Поиск
Список
Период
Сортировка
От Lee Kindness
Тема Re: big text field -> message type 0x44
Дата
Msg-id 15855.29782.56462.833796@kelvin.csl.co.uk
обсуждение исходный текст
Ответ на Re: big text field -> message type 0x44  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: big text field -> message type 0x44  (Tomas Berndtsson <tomas@nocrew.org>)
Re: big text field -> message type 0x44  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane writes:> Okay, so it seems -D_REENTRANT is the appropriate fix.> > We could either add that to the
template/solarisfile, or just add a> note to FAQ_Solaris advising that it be added to the configure switches> if people
intendto use libpq in threaded programs.  Is there any> cost or downside to just adding it always in template/solaris?
 

However, _REENTRANT is not a Solarisism... On all (recent) UNIX
systems it toggles on correct handling for thread specific instances
of historically global variables (eg errno). It should be considered
for all platforms if libpq is intended to be used from threaded
programs.

You'll probably find Tomas's code breaks on Linux too...

Lee.


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

Предыдущее
От: Tomas Berndtsson
Дата:
Сообщение: Re: big text field -> message type 0x44
Следующее
От: "Dan Langille"
Дата:
Сообщение: 7.4 - TODO : alter table drop foreign key