Fix ruleutils' handling of dropped columns in composite-returning function RTEs

Edit
ID 3773
Title Fix ruleutils' handling of dropped columns in composite-returning function RTEs
Topic Bug Fixes
Created 2022-07-20 21:55:52
Last modified 2022-07-28 21:42:50 (2 years, 2 months ago)
Latest email 2022-07-22 16:50:29 (2 years, 2 months ago)
Status
2022-09: Committed
Target version stable
Authors Tom Lane (tgl)
Reviewers Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/3773
git checkout commitfest/cf/3773
Emails
If a row-level security policy contains a set returning function, pg_dump returns an incorrect serialization of that policy if the return type of the function was altered
First at 2022-07-19 10:22:02 by Timo Stolz <timo.stolz at nullachtvierzehn.de>
Latest at 2022-07-22 16:50:29 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (make-dependencies-for-function-columns-1.patch) at 2022-07-21 19:19:15 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (make-dependencies-for-function-columns-1.patch) at 2022-07-21 19:19:15 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (fix-ruleutils-for-dropped-columns-1.patch) at 2022-07-20 20:54:24 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (dumped-schema with comments.sql) at 2022-07-19 10:22:02 from Timo Stolz <timo.stolz at nullachtvierzehn.de> (Patch: No)
History
When Who What
2022-07-28 21:42:50 Tom Lane (tgl) Closed in commitfest 2022-09 with status: Committed
2022-07-28 21:42:50 Tom Lane (tgl) Changed committer to tgl
2022-07-20 21:56:06 Tom Lane (tgl) Changed authors to Tom Lane (tgl)
2022-07-20 21:56:06 Tom Lane (tgl) Changed targetversion to stable
2022-07-20 21:55:53 Tom Lane (tgl) Attached mail thread 5c91267e-3b6d-5795-189c-d15a55d61dbb@nullachtvierzehn.de
2022-07-20 21:55:52 Tom Lane (tgl) Created patch record
Edit