Re: Postgres 7.4 : ECPG not Thread-safe

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Thierry Missimilly <THIERRY(dot)MISSIMILLY(at)BULL(dot)NET>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres 7.4 : ECPG not Thread-safe
Date: 2003-10-12 08:57:22
Message-ID: 20031012085722.GA7371@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Oct 09, 2003 at 04:42:18PM +0200, Thierry Missimilly wrote:
> I don't know if it is really link to Postgres and ECPG but if you
> modifiy pgbch.pgc in the way that the
> transaction is limited to "BEGIN; END; ", it will never hang.

Do you mean it only hangs if you do automatic transaction starting? I
mean if you use PGSQL implicit transactions and explicit BEGIN...END
blocks it works well, but if you let libecpg start the transaction and
just do a COMMIT every once in a while it is not?

> Well, i'm not an expert in Linux multi-thread, but it seems the thread

Neither am I, so I have no idea where to look.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2003-10-12 09:21:39 Re: Redhat RPMs (Was: Debian experimental packages
Previous Message btober 2003-10-12 08:48:56 Temporary tables and miscellaneous schemas