Re: conditional insert

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: conditional insert
Date: 2011-09-08 15:12:36
Message-ID: 20110908151235.GE38973@shinkuro.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)crankycanuck(dot)ca

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Miguel Angel Hernandez Moreno 2011-09-08 15:45:25 problems with pg_restore and java
Previous Message Joy Smith 2011-09-08 14:52:06 Re: pivoting data?