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 <alepaes@aldeiadigital.com.br>
To: pgsql-sql@postgresql.org
Subject: Re: Abort Transaction DP PK (again)
Date: Fri, 8 Aug 2003 14:45:44 -0700
Message-ID: <200308081445.44651.josh@agliodbs.com> (raw)
In-Reply-To: <4150.192.168.1.100.1060374146.squirrel@webmail.ad2.com.br>
References: <1108.200.170.156.137.1060275870.squirrel@webmail.ad2.com.br>
	<200308080937.34002.josh@agliodbs.com>
	<4150.192.168.1.100.1060374146.squirrel@webmail.ad2.com.br>

Alexandre,

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

That would be a very bad idea because then the duplicate row would be inserted 
anyway.   And you'd have to hack the source code.

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

I'm not quite sure what you mean.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (4+ messages)

Message-ID: <200308081445.44651.josh@agliodbs.com>
Permalink:  ../200308081445.44651.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200308081445.44651.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, alepaes@aldeiadigital.com.br
  Subject: Re: Abort Transaction DP PK (again)
  In-Reply-To: <200308081445.44651.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