Re: libpy and ENABLE_THREAD_SAFETY=1

Поиск
Список
Период
Сортировка
От Pit Müller
Тема Re: libpy and ENABLE_THREAD_SAFETY=1
Дата
Msg-id 4300A5AC.4060601@gmx.de
обсуждение исходный текст
Ответ на Re: libpy and ENABLE_THREAD_SAFETY=1  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-general
Magnus Hagander wrote:

>>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
>
>
>
>
But what if I compile the DLL using ENABLE_THREAD_SAFETY ?
Can I then use one connection for multiple threads ?

Pit

В списке pgsql-general по дате отправления:

Предыдущее
От: Junaili Lie
Дата:
Сообщение: Re: table clustering brings joy
Следующее
От: Lee Hyun soon
Дата:
Сообщение: pgsql-bugs