Multi-threaded client apps

From: "Gunkel, Marc B" <mgunke(at)sandia(dot)gov>
To: "'pgsql-novice(at)postgresql(dot)org'" <pgsql-novice(at)postgresql(dot)org>
Subject: Multi-threaded client apps
Date: 2001-02-12 21:08:52
Message-ID: B51F0C636E578A4E832D3958690CD73E9AB30A@es04snlnt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sandia(dot)gov
505-844-3395

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2001-02-12 21:14:12 Re: Mac OS X Beta Status?
Previous Message Mike Hammonds 2001-02-12 18:30:37 Here you have, ;o)