pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedecpg error code -601
3+ messages / 3 participants
[nested] [flat]
* ecpg error code -601
@ 2002-04-24 20:07 Yuemin Zhang <yuemin@netrake.com>
2002-04-25 14:11 ` ecpg error code -601 Lee Kindness <lkindness@csl.co.uk>
2002-04-25 15:33 ` Re: ecpg error code -601 Michael Meskes <meskes@postgresql.org>
0 siblings, 2 replies; 3+ messages in thread
From: Yuemin Zhang @ 2002-04-24 20:07 UTC (permalink / raw)
To: pgsql-interfaces
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* ecpg error code -601
2002-04-24 20:07 ecpg error code -601 Yuemin Zhang <yuemin@netrake.com>
@ 2002-04-25 14:11 ` Lee Kindness <lkindness@csl.co.uk>
1 sibling, 0 replies; 3+ messages in thread
From: Lee Kindness @ 2002-04-25 14:11 UTC (permalink / raw)
To: Yuemin Zhang <yuemin@netrake.com>; +Cc: pgsql-interfaces; 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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: ecpg error code -601
2002-04-24 20:07 ecpg error code -601 Yuemin Zhang <yuemin@netrake.com>
@ 2002-04-25 15:33 ` Michael Meskes <meskes@postgresql.org>
1 sibling, 0 replies; 3+ messages in thread
From: Michael Meskes @ 2002-04-25 15:33 UTC (permalink / raw)
To: Yuemin Zhang <yuemin@netrake.com>; +Cc: pgsql-interfaces
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!
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-04-25 15:33 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-04-24 20:07 ecpg error code -601 Yuemin Zhang <yuemin@netrake.com>
2002-04-25 14:11 ` Lee Kindness <lkindness@csl.co.uk>
2002-04-25 15:33 ` Michael Meskes <meskes@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox