| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Attach ON CONFLICT SET ... WHERE to the correct planstate. |
| Date: | 2015-05-18 23:58:47 |
| Message-ID: | E1YuUvn-0007QG-9f@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2015-05-19 00:08:05 | pgsql: Change pg_seclabel.provider and pg_shseclabel.provider to type " |
| Previous Message | Tom Lane | 2015-05-18 22:36:16 | Re: pgsql: Separate block sampling functions |