Re: libpy and ENABLE_THREAD_SAFETY=1 - Mailing list pgsql-general

From Magnus Hagander
Subject Re: libpy and ENABLE_THREAD_SAFETY=1
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C7876@algol.sollentuna.se
Whole thread Raw
In response to libpy and ENABLE_THREAD_SAFETY=1  ("Pit M." <fmi-soft@gmx.de>)
Responses Re: libpy and ENABLE_THREAD_SAFETY=1  (Pit Müller <fmi-soft@gmx.de>)
List pgsql-general
> Is the standard libpq.dll distributed by PostgreSQL8.0 for
> windows thread safe by default ?

No.
It is safe as long as you use each PGconn on a separate thread but you
cannot share the same PGconn between threads.

//Magnus

pgsql-general by date:

Previous
From: Matt Miller
Date:
Subject: Re: question : postgres + Powerbuilder
Next
From: "Magnus Hagander"
Date:
Subject: Re: Howto build libpq.dll using VC2003 and ENABLE_THREAD_SAFETY=1