pgsql: Fix MERGE tuple count with DO NOTHING - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix MERGE tuple count with DO NOTHING
Date
Msg-id E1ovj8T-000dKN-Eg@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6ff5aa129933fbde034c0d21c28cf05e052511f9

Modified Files
--------------
src/backend/executor/nodeModifyTable.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Use correct type name in comments about freezing.
Next
From: Tom Lane
Date:
Subject: pgsql: Replace RelationOpenSmgr() with RelationGetSmgr().