pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: alexandre :: aldeia digital <alexandre@aldeiadigital.com.br>
To: pgsql-sql@postgresql.org
Subject: Re: Abort Transaction DP PK (again)
Date: Fri, 8 Aug 2003 09:37:33 -0700
Message-ID: <200308080937.34002.josh@agliodbs.com> (raw)
In-Reply-To: <1108.200.170.156.137.1060275870.squirrel@webmail.ad2.com.br>
References: <1108.200.170.156.137.1060275870.squirrel@webmail.ad2.com.br>

Alexandre,

> I know that this topic was discuted before but I like an alternative for
> my high load INSERT query.
> Why Postgres abort a transaction when find a duplicate PK ?!?!

Postgres currently aborts a transaction upon *any* error condition, except 
warnings.  We do not, currently, have a exception-handling model for 
procedure code.  It's on the TODO list.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (4+ messages)  latest in thread

Message-ID: <200308080937.34002.josh@agliodbs.com>
Permalink:  ../200308080937.34002.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200308080937.34002.josh@agliodbs.com

 · 

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: josh@agliodbs.com, alexandre@aldeiadigital.com.br
  Subject: Re: Abort Transaction DP PK (again)
  In-Reply-To: <200308080937.34002.josh@agliodbs.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