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

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE.
Дата
Msg-id CAM3SWZRHJ0AsPt2T1Jnr-DGBz75SizW50rWDh-+A9VnJ65PDUg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE.  (Andres Freund <andres@anarazel.de>)
Ответы Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE.  (Peter Geoghegan <pg@heroku.com>)
Список 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 по дате отправления:

Предыдущее
От: Jan Bilek
Дата:
Сообщение: Re: Postgres and TLSv1.2
Следующее
От: Noah Misch
Дата:
Сообщение: Re: pg_upgrade cleanup