pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marcin Mirosław <marcin@mejor.pl>
To: pgsql-sql@postgresql.org
Subject: Re: Re: Current transaction is aborted, commands ignored until end of transaction block
Date: Fri, 30 Dec 2011 12:07:19 +0100
Message-ID: <4EFD9B67.30308@mejor.pl> (raw)
In-Reply-To: <jdk5q0$kho$1@dough.gmane.org>
References: <4EFD3D32.9060902@greenpeace.org>
	<13131805-BCBB-42DF-953B-27EE36AAF213@yahoo.com>
	<4EFD79BA.50508@greenpeace.org>
	<201112301044.33861.leif@solumslekt.org>
	<jdk5q0$kho$1@dough.gmane.org>

W dniu 30.12.2011 12:03, Thomas Kellerer pisze:
> Leif Biberg Kristensen wrote on 30.12.2011 10:44:
>>   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.
>>
> Not true.
> 
> Oracle and others (I believe at least DB2) behave such that you can
> insert a bunch of rows and if one or more throw a constraint violation,
> the transaction can still be committed persisting those that do not
> violate the constraint.

Hi,
isn't this option:
http://www.postgresql.org/docs/current/static/sql-set-constraints.html ?
Regards



view thread (17+ messages)  latest in thread

Message-ID: <4EFD9B67.30308@mejor.pl>
Permalink:  ../4EFD9B67.30308@mejor.pl/
Also on:    postgresql.org/message-id/4EFD9B67.30308@mejor.pl

 · 

reply

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: marcin@mejor.pl
  Subject: Re: Re: Current transaction is aborted, commands ignored until end of transaction block
  In-Reply-To: <4EFD9B67.30308@mejor.pl>

* 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