Re: Postgres 7.4 : ECPG not Thread-safe

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Postgres 7.4 : ECPG not Thread-safe
Дата
Msg-id 200311071708.hA7H8kZ25188@candle.pha.pa.us
обсуждение исходный текст
Ответ на Postgres 7.4 : ECPG not Thread-safe  (Thierry Missimilly <THIERRY.MISSIMILLY@BULL.NET>)
Список pgsql-general
Thierry Missimilly wrote:
> Please enter a FULL description of your problem:
> ------------------------------------------------
> I think i have a Thread-safe problem. PostgreSQL developpers will find a
> test program  to reproduce it on their lab.
>
> I have, already sent this to pgsql-general and pgsql-hacker, but get
> back not answers. But neve mind.
>
> I've built Postgresql with the option --enable-thread-safety --with-tcl.
>
> And now run a pgbench like program call pgbch.pgc (attached with this
> mail).
>
> The main differences of pgbch.pgc are :
> 1) Pro*c code
> 2) Multi-threaded
> 3) Some specific code for Oracle
> 4) Some specific dynamic trace for debug
>

I have worked with this user and found they were using EXEC SQL from
different threads, but were not using the "AT" clause to force the
threads to use their own private connection, so there was no threading
bug in our code.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: DDL for a single schema
Следующее
От: Tom Lane
Дата:
Сообщение: Re: int8 primary keys still not using index without manual