Re: Libpq and multithreading - Mailing list pgsql-general

From Asia
Subject Re: Libpq and multithreading
Date
Msg-id 101825701-d41e4572cbb5191de03969fbf4981c43@pkn6.m5r2.onet
Whole thread Raw
In response to Libpq and multithreading  (Asia <asia123321@op.pl>)
Responses Re: Libpq and multithreading
List 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 by date:

Previous
From: "461246131"
Date:
Subject:
Next
From: Alban Hertroys
Date:
Subject: Re: Libpq and multithreading