pgsql: Fix MERGE tuple count with DO NOTHING

2022-11-17 Thread Alvaro Herrera
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+42mmacuh6s8xzasqkizbzrtoga6g1ujzcp75ncxhs...@mail.gmail.com Br

pgsql: Fix MERGE tuple count with DO NOTHING

2022-11-17 Thread Alvaro Herrera
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+42mmacuh6s8xzasqkizbzrtoga6g1ujzcp75ncxhs...@mail.gmail.com Br