Peter Geoghegan wrote: > On Wed, May 20, 2015 at 2:58 PM, Alvaro Herrera > <alvhe...@2ndquadrant.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.
... ah ... > Are you using an old psql? I thought that that would just result in no > command tag being displayed. Well, I'm using an editor to read the code of CreateCommandTag(), not executing anything. I guess that function needs an update, then, no? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers