Re: big text field -> message type 0x44

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: big text field -> message type 0x44
Дата
Msg-id m3adjka1bm.fsf@varsoon.wireboard.com
обсуждение исходный текст
Ответ на big text field -> message type 0x44  (Tomas Berndtsson <tomas@nocrew.org>)
Ответы Re: big text field -> message type 0x44  (Tomas Berndtsson <tomas@nocrew.org>)
Список pgsql-hackers
Lee Kindness <lkindness@csl.co.uk> writes:

> Tom Lane writes:
>  > Okay, so it seems -D_REENTRANT is the appropriate fix.
>  > 
>  > We could either add that to the template/solaris file, or just add a
>  > note to FAQ_Solaris advising that it be added to the configure switches
>  > if people intend to 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.

I know libpq is "officially" non-threadsafe, but is there anything in
there that would actually cause a problem, assuming either a
connection per thread or proper locking on the application's part?
Most of the data in the library seems to be per-connection...

-Doug


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

Предыдущее
От: "Dan Langille"
Дата:
Сообщение: 7.4 - TODO : alter table drop foreign key
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: 7.4 - TODO : alter table drop foreign key