ecpg error code -601

From: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
To: "Yuemin Zhang" <yuemin(at)netrake(dot)com>
Cc: <pgsql-interfaces(at)postgresql(dot)org>, Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Subject: ecpg error code -601
Date: 2002-04-25 14:11:20
Message-ID: 15560.3720.710753.520332@kelvin.csl.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Meskes 2002-04-25 15:33:51 Re: ecpg error code -601
Previous Message Michael Meskes 2002-04-25 13:07:13 Re: ECPG: FETCH ALL|n FROM cursor - Memory allocation?