pgsql: Rewrite previous commit's test for TestUpgradeXversion compatibi - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Rewrite previous commit's test for TestUpgradeXversion compatibi
Date
Msg-id E1upxxb-001MDF-2K@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_18_STABLE

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

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


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Sort DO_DEFAULT_ACL dump objects independent of OIDs.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Formatting cleanup of guc_tables.c