Re: Libpq and multithreading - Mailing list pgsql-general

From Asia
Subject Re: Libpq and multithreading
Date
Msg-id 28920837-7f0ee22a0f574d673f1fde5a74128649@pmq1.m5r2.onet
Whole thread Raw
In response to Libpq and multithreading  (Asia <asia123321@op.pl>)
Responses Re: Libpq and multithreading  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-general
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.

Joanna


pgsql-general by date:

Previous
From: David Johnston
Date:
Subject: Re: INSERT... WHERE
Next
From: aasat
Date:
Subject: Re: How to store clickmap points?