From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Altaf Malik <mmalik_altaf@yahoo.com>
Cc: James Im <im-james@hotmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: how to continue using a connection after an error with autocommit=false
Date: Tue, 20 Feb 2007 09:39:41 -0600
Message-ID: <1171985981.25338.44.camel@state.g2switchworks.com> (raw)
In-Reply-To: <305445.70270.qm@web39109.mail.mud.yahoo.com>
References: <305445.70270.qm@web39109.mail.mud.yahoo.com>
On Tue, 2007-02-20 at 04:53, Altaf Malik wrote:
> You can either commit or rollback the transaction when you encounter
> an SQL error. This will alow the next statements to execute
> successfully.
You can't commit after an error in PostgreSQL unless you've rolled back
to a savepoint from before the error.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: smarlowe@g2switchworks.com, mmalik_altaf@yahoo.com, im-james@hotmail.com
Subject: Re: how to continue using a connection after an error with autocommit=false
In-Reply-To: <1171985981.25338.44.camel@state.g2switchworks.com>
References: <305445.70270.qm@web39109.mail.mud.yahoo.com> <1171985981.25338.44.camel@state.g2switchworks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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