Re: INSERT .. ON CONFLICT DO SELECT [FOR ..]

Peter Geoghegan <pg@bowt.ie>

From: Peter Geoghegan <pg@bowt.ie>
To: Marko Tiikkaja <marko@joh.to>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-08-15T05:43:29Z
Lists: pgsql-hackers
On Mon, Aug 14, 2017 at 6:23 PM, Marko Tiikkaja <marko@joh.to> wrote:
> Attached is a patch for $SUBJECT.  It might still be a bit rough around the
> edges and probably light on docs and testing, but I thought I'd post it
> anyway so I won't forget.

Is it possible for ON CONFLICT DO SELECT to raise a cardinality
violation error? Why or why not?



-- 
Peter Geoghegan


Commits

  1. Add support for INSERT ... ON CONFLICT DO SELECT.