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.nmi...@google.com
Backpatch-through: 13

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fb75e1ef72123476209a4cd5b511f1b9e3c240f2

Modified Files
--------------
src/test/regress/expected/privileges.out | 4 ++--
src/test/regress/sql/privileges.sql      | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

Reply via email to