Re: libpy and ENABLE_THREAD_SAFETY=1

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Pit M(dot)" <fmi-soft(at)gmx(dot)de>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: libpy and ENABLE_THREAD_SAFETY=1
Date: 2005-08-10 16:01:24
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7876@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2005-08-10 16:02:01 Re: Howto build libpq.dll using VC2003 and ENABLE_THREAD_SAFETY=1
Previous Message Matt Miller 2005-08-10 15:47:38 Re: question : postgres + Powerbuilder