]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Rewrite previous commit's test for TestUpgradeXversion compatibility.
authorNoah Misch <noah@leadboat.com>
Sat, 23 Aug 2025 23:46:20 +0000 (16:46 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 23 Aug 2025 23:46:26 +0000 (16:46 -0700)
commitfb75e1ef72123476209a4cd5b511f1b9e3c240f2
tree07748864931805a3b5e881154fb87df8998b77d4
parent05341b2e9914d8c5690ba38c081c0af450c7d3e9
Rewrite previous commit's test for TestUpgradeXversion compatibility.

v17 introduced the MAINTAIN ON TABLES privilege.  That changed the
applicable "baseacls" reaching buildACLCommands().  That yielded
spurious TestUpgradeXversion diffs.  Change to use a TYPES privilege.
Types have the same one privilege in all supported versions, so they
avoid the problem.  Per buildfarm.  Back-patch to v13, like that commit.

Discussion: https://postgr.es/m/20250823144505.88.nmisch@google.com
Backpatch-through: 13
src/test/regress/expected/privileges.out
src/test/regress/sql/privileges.sql