ecpg error code -601
ecpg error code -601
От:
"Yuemin Zhang" <yuemin@netrake.com>
Дата:
Hi, I used ecpg to develop of the application interface. Sometime at runtime I get return error code -601 and with followinmg error message: current transation is aborted, queries ignored until end of transaction block What is the cause of this error? How can I fix that? I checked Programmer's Guide and found no answer. Regards, Yuemin Zhang
ecpg error code -601
От:
Lee Kindness <lkindness@csl.co.uk>
Дата:
A previous statement would have returned with sqlcq.sqlcode < 0 when this happens the transaction is ROLLBACKed and all subsequent statements until the next COMMIT or ABORT are ignored. Lee. Yuemin Zhang writes:> Hi,> > I used ecpg to develop of the application interface. Sometime at runtime I get return error code -601 and with followinmg error message:> > current transation is aborted, queries ignored until end of transaction block> > What is the cause of this error? How can I fix that? I checked Programmer's Guide and found no answer. > > Regards,> > Yuemin Zhang
Re: ecpg error code -601
От:
Michael Meskes <meskes@postgresql.org>
Дата:
On Wed, Apr 24, 2002 at 03:07:29PM -0500, Yuemin Zhang wrote: > I used ecpg to develop of the application interface. Sometime at runtime I get return error code -601 and with followinmg error message: > > current transation is aborted, queries ignored until end of transaction block As Lee already explained the error is somewhere else. ecpg just returns -601 if the backend returns the text you got via notice. Michael -- Michael Meskes Michael@Fam-Meskes.De Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!