Re: Abort Transaction DP PK (again) - Mailing list pgsql-sql

From alexandre :: aldeia digital
Subject Re: Abort Transaction DP PK (again)
Date
Msg-id 4150.192.168.1.100.1060374146.squirrel@webmail.ad2.com.br
Whole thread Raw
In response to Re: Abort Transaction DP PK (again)  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Abort Transaction DP PK (again)  (Josh Berkus <josh@agliodbs.com>)
List pgsql-sql
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)
>



pgsql-sql by date:

Previous
From: Stef
Date:
Subject: Re: Analyze makes queries slow...
Next
From: Josh Berkus
Date:
Subject: Re: Abort Transaction DP PK (again)