Re: BUG #3272: ECPG YE000 error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Taso Hatzi" <taso(at)aanet(dot)com(dot)au>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3272: ECPG YE000 error
Date: 2007-05-12 16:43:01
Message-ID: 22396.1178988181@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Taso Hatzi" <taso(at)aanet(dot)com(dot)au> writes:
> It looks to me like a thread isolation problem.

If you have multiple threads accessing the same connection, it's
up to *you* to provide interlocking to make sure they don't try
to issue concurrent queries; libpq has no internal mutex for that.
I believe similar statements hold for ECPG's state.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bojan Jovanovic 2007-05-12 18:15:15 Re: BUG #3269: PSQL does not display error output
Previous Message Tom Lane 2007-05-12 16:39:18 Re: BUG #3269: PSQL does not display error output