Re: UPSERT - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: UPSERT
Date
Msg-id 200703021117.47121.josh@agliodbs.com
Whole thread Raw
In response to Re: UPSERT  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Couple notes:

(1) Upsert is not just a desire of MySQL users.  I just spec'd a major 
proprietary-database replacement project at a fortune 500 where they want an 
Upsert and are unhappy that PostgreSQL doesn't have it.  Unfortunately, they 
don't want to spring for development funds :-(

(2) Doing upsert by checking for a unique key violaton error leads to horrible 
performance in addition to the previously mentioned race conditions.

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: WITH/RECURSIVE plans
Next
From: Andrew - Supernews
Date:
Subject: Re: GIST and TOAST