Re: conditional insert - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: conditional insert
Date
Msg-id 20110908151235.GE38973@shinkuro.com
Whole thread Raw
In response to Re: conditional insert  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
List pgsql-general
On Thu, Sep 08, 2011 at 10:31:39PM +0800, Lincoln Yeoh wrote:
>
> Doesn't catching the failure and retrying mean writing more code?

Well, yes.  OTOH, if you want to use "upsert" and you have to use
other database systems too, then you'll need that other code also,
since it's not standard.

There isn't an easy answer here.

A

--
Andrew Sullivan
ajs@crankycanuck.ca

pgsql-general by date:

Previous
From: Joy Smith
Date:
Subject: Re: pivoting data?
Next
From: Miguel Angel Hernandez Moreno
Date:
Subject: problems with pg_restore and java