Re: [JDBC] Problem: commit doesn´t work

From: "Michael Paesold" <mpaesold(at)gmx(dot)at>
To: "Daniel Serodio" <daniel(at)checkforte(dot)com(dot)br>, "PostgreSQL JDBC List" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [JDBC] Problem: commit doesn´t work
Date: 2003-01-07 15:15:46
Message-ID: 011001c2b65f$a8536060$3201a8c0@beeblebrox
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

[Topic: transaction aborted after error, no commit possible]

"Daniel Serodio" <daniel(at)checkforte(dot)com(dot)br> wrote:
> While I also dislike this behaviour, it's the backend's fault, not the
> driver's. Try the same thing in psql (or any other frontend) and you'll
> get the same results.
>
> If you do try to repost this question on another list (pgsql-hackers
> etc) I'd be interested in following the discussion, if you could CC: me
> I'd be grateful.

There is no sense in re-posting to hackers. This has been discussed before
and is well known behaviour. Postgres' transactions are atomic, either the
whole transaction will commit or nothing at all. Look at the archives to see
discussion about exactly the same topic.

AFAIK, Bruce is working on nested transactions for 7.4 or later. That will
open the possibility for the behaviour Marcos expected.

Best regards,
Michael Paesold

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Abel Muiño 2003-01-07 16:27:36 JDBC compliance
Previous Message João Paulo Ribeiro 2003-01-07 15:02:57 Re: Problem: commit doesn´t work