Search Postgresql Archives

Re: Libpq and multithreading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 14, 2013 at 9:57 AM, Asia <asia123321@xxxxx> 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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux