Re: Multithreaded libpq? - Mailing list pgsql-general

From Tom Lane
Subject Re: Multithreaded libpq?
Date
Msg-id 660.964456994@sss.pgh.pa.us
Whole thread Raw
In response to Multithreaded libpq?  (David George <david@logical.net>)
List pgsql-general
David George <david@logical.net> writes:
> Does libpq support multithreaded frontend apps?

libpq is thread-ignorant.  You can use it in a multithreaded app,
but it's up to you to ensure that no two threads try to operate on
the same PQconn object at the same time.

            regards, tom lane

pgsql-general by date:

Previous
From: "Jeffrey A. Rhines"
Date:
Subject: PostgreSQL, ODBC, Access
Next
From: Kyle
Date:
Subject: Re: Problem with inserting newlines and ' characters