From: Leif Biberg Kristensen <leif@solumslekt.org>
To: pgsql-sql@postgresql.org
Subject: Re: Current transaction is aborted, commands ignored until end of transaction block
Date: Fri, 30 Dec 2011 10:44:33 +0100
Message-ID: <201112301044.33861.leif@solumslekt.org> (raw)
In-Reply-To: <4EFD79BA.50508@greenpeace.org>
References: <4EFD3D32.9060902@greenpeace.org>
<13131805-BCBB-42DF-953B-27EE36AAF213@yahoo.com>
<4EFD79BA.50508@greenpeace.org>
Fredag 30. desember 2011 09.43.38 skrev Jan Bakuwel :
> Would be nice to have an option in PostgreSQL something along the lines
> of: 'abort-transaction-on-constraint-violation = false'....
That option is called MySQL with MyISAM tables.
Seriously, if the user encounters a constraint violation, that is IMO a
symptom of bad design. Such conditions should be checked and caught _before_
the transaction begins.
regards, Leif
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: leif@solumslekt.org
Subject: Re: Current transaction is aborted, commands ignored until end of transaction block
In-Reply-To: <201112301044.33861.leif@solumslekt.org>
* 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