Libpq and multithreading - Mailing list pgsql-general

From Asia
Subject Libpq and multithreading
Date
Msg-id 23545876-9f4109675ff93fe7ab7b89d56fb9e2e8@pmq4.m5r2.onet
Whole thread Raw
Responses Re: Libpq and multithreading  (Bruce Momjian <bruce@momjian.us>)
List pgsql-general
Hello,

I am trying to use libpq in two threads, the issue is that I am getting access violation after several successful
connections.
Each thread connects to different db and disconnects immediately after making a conenction.

So my question is if this is supported by libpq? Is it possible to use it in more than one thread and make connections
atthe same time? 

Kind regards,
Joanna


pgsql-general by date:

Previous
From: Kirk Wythers
Date:
Subject: Re: psql copy from through bash
Next
From: Fredrik.HuitfeldtMadsen@schneider-electric.com
Date:
Subject: Re: Database connections seemingly hanging