From: | Peter Geoghegan <pg(at)heroku(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. |
Date: | 2015-05-20 22:02:05 |
Message-ID: | CAM3SWZRUhr1806zsF28CVRrB=b4t8PWv8d9x29z02xTQoFDyWA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Wed, May 20, 2015 at 2:58 PM, Alvaro Herrera
<alvherre(at)2ndquadrant(dot)com> wrote:
> Hm, I just realized that the command tag for INSERT ON CONFLICT is still
> just INSERT. Is that okay? To me, the behavior is different enough
> that it should have its own tag. I'm not too set on this, but maybe
> others share this opinion?
No it isn't. ON CONFLICT DO UPDATE has an "UPSERT" command tag. DO
NOTHING has INSERT as its command tag.
Are you using an old psql? I thought that that would just result in no
command tag being displayed.
--
Peter Geoghegan
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2015-05-20 22:09:11 | Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. |
Previous Message | Andres Freund | 2015-05-20 22:00:17 | Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2015-05-20 22:05:41 | Re: Disabling trust/ident authentication configure option |
Previous Message | Andres Freund | 2015-05-20 22:00:17 | Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. |