pgsql: Attach ON CONFLICT SET ... WHERE to the correct planstate. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Attach ON CONFLICT SET ... WHERE to the correct planstate.
Date
Msg-id E1YuUvn-0007QG-9f@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Attach ON CONFLICT SET ... WHERE to the correct planstate.

The previous coding was a leftover from attempting to hang all the on
conflict logic onto modify table's child nodes. It appears to not have
actually caused problems except for explain.

Add test exercising the broken and some other code paths.

Author: Peter Geoghegan and Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e4942f7a56efcfaabed5db7bde29ee21bef2f6e2

Modified Files
--------------
src/backend/executor/nodeModifyTable.c        |    2 +-
src/test/regress/expected/insert_conflict.out |   16 ++++++++++++++++
src/test/regress/sql/insert_conflict.sql      |    2 ++
3 files changed, 19 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Separate block sampling functions
Next
From: Tom Lane
Date:
Subject: pgsql: Change pg_seclabel.provider and pg_shseclabel.provider to type "