Re: 'update returning *' returns 0 columns instead of empty row with 2 columns when (i) no rows updated and (ii) when applied to a partitioned table with sub-partition
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Petr Fedorov <petr.fedorov@phystech.edu>, pgsql-bugs@postgresql.org
Date: 2019-02-22T17:25:58Z
Lists: pgsql-bugs
Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> writes: > On 2019/02/22 13:43, Tom Lane wrote: >> I'm too tired to work on that anymore today, do you want to run >> with it? > Sure, see attached a patch. OK, I prettified this a bit and pushed it. regards, tom lane
Commits
-
Fix plan created for inherited UPDATE/DELETE with all tables excluded.
- 58947fbd56d1 10.8 landed
- 07fba9ad9b71 11.3 landed
- ab5fcf2b04f9 12.0 landed
- 99a1554a2680 9.4.22 landed
- 714344ae6833 9.6.13 landed
- 0fe3f6dd45c9 9.5.17 landed