Re: Problem with aborting entire transactions on error

From: Ondrej Ivanič <ondrej(dot)ivanic(at)gmail(dot)com>
To: Виктор Егоров <vyegorov(at)gmail(dot)com>
Cc: Thomas Kellerer <spam_eater(at)gmx(dot)net>, "pgsql-general(at)postgresql(dot)org general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problem with aborting entire transactions on error
Date: 2012-12-11 02:02:41
Message-ID: CAM6mieKn-Mb67S0TdU5SAWtwR=fTPgHsYb_nCxH9MUTNKevJgQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On 11 December 2012 06:25, Виктор Егоров <vyegorov(at)gmail(dot)com> wrote:
> On the other hand, it is possible to write "whenever sqlerror
> continue;" and this will make ORACLE to process all the statements
> inide the script, ignoring all errors. This is a general feature,
> available not only for sqlplus scripts — as mentioned, a series of 100
> INSERTs can have 5 failing ones and commit statement will result in 95
> new records..

For example, nCluster (and Greenplum) has similar feature for COPY:
page 13 "Error Logging in COPY"
http://www.pgcon.org/2009/schedule/attachments/135_PGCon%202009%20-%20Aster%20v6.pdf.

Around the same time AsterData tried to push some COPY enhancements
(error logging and partitioning):
http://archives.postgresql.org/pgsql-hackers/2009-10/msg00247.php

--
Ondrej Ivanic
(http://www.linkedin.com/in/ondrejivanic)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-12-11 02:09:19 Re: execution plan is wrong, or the query ?
Previous Message Tom Lane 2012-12-11 01:53:29 Re: Problem with aborting entire transactions on error