]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix MERGE tuple count with DO NOTHING
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 17 Nov 2022 17:56:11 +0000 (18:56 +0100)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 17 Nov 2022 17:56:11 +0000 (18:56 +0100)
commit3d45edcef0e141f2a17a21d0411efa889f843b00
treefb6170d5eca67f7d6d78d205af0a67e09179fdd9
parent41afaa1ed4d40330a7f51f7b398064657b87831b
Fix MERGE tuple count with DO NOTHING

Reporting tuples for which nothing is done is useless and goes against
the documented behavior, so don't do it.

Backpatch to 15.

Reported by: Luca Ferrari
Discussion: https://postgr.es/m/CAKoxK+42MmACUh6s8XzASQKizbzrtOGA6G1UjzCP75NcXHsiNw@mail.gmail.com
src/backend/executor/nodeModifyTable.c