Re: Libpq and multithreading

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Libpq and multithreading
Дата
Msg-id CAHyXU0w97a-rBRd8t7pGC=i24P7LBiuewP-kzgb_EvZtHe+eFg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Libpq and multithreading  (Asia <asia123321@op.pl>)
Список pgsql-general
On Mon, Jan 14, 2013 at 9:57 AM, Asia <asia123321@op.pl> wrote:
> It is not possible because connection is local variable in both thread functions, no common variables are used.
>
> I checked that it also crashes without SSL. Two threads connecting to the same server, different databases.

hm, where is your libpq coming from -- is it possible you are using
the non thread-safe variant?

are you 100% sure there is no thread interplay on the connection itself?

is it possible to get a backtrace for the access violation?

merlin


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