Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE.
Date
Msg-id CAM3SWZRHJ0AsPt2T1Jnr-DGBz75SizW50rWDh-+A9VnJ65PDUg@mail.gmail.com
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE.  (Andres Freund <andres@anarazel.de>)
Responses Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE.  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers
On Thu, May 21, 2015 at 5:48 PM, Andres Freund <andres@anarazel.de> wrote:
>
>> If the number is useful, then perhaps we should distinguish the cases;
>> and if it's not useful, why not just return zero?
>
> There's libraries/frameworks checking if an insert succeeded by looking
> at that number, and it seems like a bad idea to needlessly break those.

+1

> So I think we're good with ripping it out. Peter?

I'll come up with a patch.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Jan Bilek
Date:
Subject: Re: Postgres and TLSv1.2
Next
From: Noah Misch
Date:
Subject: Re: pg_upgrade cleanup