Re: PGconn thread safety

From: Neil Conway <neilc(at)samurai(dot)com>
To: ahoward <ahoward(at)fsl(dot)noaa(dot)gov>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: PGconn thread safety
Date: 2003-02-07 03:43:32
Message-ID: 1044589412.28519.28.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2003-02-06 at 21:19, ahoward wrote:
> does anyone know if PGconns are safe to use from multiple threads of control?

http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/libpq-threading.html

"libpq is thread-safe as of PostgreSQL 7.0, so long as no two threads
attempt to manipulate the same PGconn object at the same time."

Cheers,

Neil
--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message kanchana 2003-02-07 03:47:14 Re: start error - pgsql
Previous Message Tom Lane 2003-02-07 03:35:36 Re: "Cannot insert a duplicate key..." -- but where?