Re: Postgres 7.4 : ECPG not Thread-safe - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Postgres 7.4 : ECPG not Thread-safe
Date
Msg-id 200310122030.h9CKUna03919@candle.pha.pa.us
Whole thread Raw
In response to Re: Postgres 7.4 : ECPG not Thread-safe  (Michael Meskes <meskes@postgresql.org>)
List pgsql-general
I am going to see if I can reproduce the hang.

---------------------------------------------------------------------------

Michael Meskes wrote:
> 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@jabber.org
> Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
  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 by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Redhat RPMs (Was: Debian experimental packages
Next
From: Ron Johnson
Date:
Subject: Re: need for concrete info