Multi-threaded client apps - Mailing list pgsql-novice

From Gunkel, Marc B
Subject Multi-threaded client apps
Date
Msg-id B51F0C636E578A4E832D3958690CD73E9AB30A@es04snlnt
Whole thread Raw
Responses Re: Multi-threaded client apps
List pgsql-novice
Are client connections to the database thread-safe?  Can each client thread
have its own connection?

What happens if multiple threads share one connection? For instance, can one
thread open a connection and another thread close it?
I realize this is probably not a good idea for many reasons, but our
architecture is dictating it.

Marc Gunkel
mgunke@sandia.gov
505-844-3395



pgsql-novice by date:

Previous
From: John James
Date:
Subject: Mac OS X Beta Status?
Next
From: Tom Lane
Date:
Subject: Re: Mac OS X Beta Status?