Re: Libpq and multithreading

Поиск
Список
Период
Сортировка
От Asia
Тема Re: Libpq and multithreading
Дата
Msg-id 101825701-d41e4572cbb5191de03969fbf4981c43@pkn6.m5r2.onet
обсуждение исходный текст
Ответ на Libpq and multithreading  (Asia <asia123321@op.pl>)
Ответы Re: Libpq and multithreading  (Alban Hertroys <haramrae@gmail.com>)
Список pgsql-general
I am using 2 threads, each declares seperate PGconn conenction object.

It connects e.g. 60 times, one connection from one thread, the other connection from the other thread, usually one
aftereach other. 
And it fails at 61'st connection with access violation.

I already tried with PQconnect and PQsetdbLogin. I am using mututal SSL authentication with this connections, maybe
thisis the case? 

Kind regards,
Joanna




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

Предыдущее
От: "461246131"
Дата:
Сообщение:
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: Libpq and multithreading