Re: 25P02, current transaction is aborted, commands ignored

From: Philip Yarra <philip(at)utiba(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Dave Cramer <pg(at)fastcrypt(dot)com>, Amaresh Wakkar <babu_moshay(at)indiatimes(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: 25P02, current transaction is aborted, commands ignored
Date: 2006-04-03 01:16:56
Message-ID: 44307788.3000707@utiba.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Oliver Jowett wrote:
> Um, your testcase is committing after every insert, not once at the end.
> So the behaviour you see sounds correct.

*sigh* so it is. Sorry about that, Oliver.

With the bogus commit removed, yes, PostgreSQL does exactly what it is
supposed to.

For the record: Sybase and Oracle still happily end up with inserts one
and three in the DB.

Regards, Philip.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vidas Makauskas 2006-04-03 08:30:00 No Primary Keys (pg7.4.2 on SLES9)
Previous Message Oliver Jowett 2006-04-03 01:03:26 Re: 25P02, current transaction is aborted, commands ignored