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

Josh,

It´s very difficult to change the behaviour of a duplicate PK, from
"error" to "warning"?

It´s possible, in a future release, to have an exception-handling for all
client interfaces, like ODBC or JDBC?

Thanks,

Alexandre

> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>




view thread (4+ messages)  latest in thread

Message-ID: <4150.192.168.1.100.1060374146.squirrel@webmail.ad2.com.br>
Permalink:  ../4150.192.168.1.100.1060374146.squirrel@webmail.ad2.com.br/
Also on:    postgresql.org/message-id/4150.192.168.1.100.1060374146.squirrel@webmail.ad2.com.br

 · 

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: alepaes@aldeiadigital.com.br
  Subject: Re: Abort Transaction DP PK (again)
  In-Reply-To: <4150.192.168.1.100.1060374146.squirrel@webmail.ad2.com.br>

* 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