Re: threads question - Mailing list pgsql-novice

From Tom Lane
Subject Re: threads question
Date
Msg-id 551.1223505251@sss.pgh.pa.us
Whole thread Raw
In response to threads question  ("Wright, George" <George.Wright@infimatic.com>)
List pgsql-novice
"Wright, George" <George.Wright@infimatic.com> writes:
> Can I open a connection to a PostgreSQL database from some C/C++ code
> then share the connection handle with multiple threads in the C/C++
> environment?

Sure, but it's up to you to prevent the threads from trying to do more
than one thing at a time with the connection.

            regards, tom lane

pgsql-novice by date:

Previous
From: Mark Roberts
Date:
Subject: Re: PostgreSQL for Data Warehouse
Next
From: "Panagiotis Kontaxis"
Date:
Subject: Connecting to schema problems