pgsql: Rewrite previous commit's test for TestUpgradeXversion compatibi

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rewrite previous commit's test for TestUpgradeXversion compatibi
Date: 2025-08-23 23:47:48
Message-ID: E1upxxb-001MDM-2U@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/090c9c9608b3bf84987ff8403d86a52001989f7d

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-08-25 07:14:56 pgsql: Formatting cleanup of guc_tables.c
Previous Message Noah Misch 2025-08-23 03:53:46 pgsql: Sort DO_DEFAULT_ACL dump objects independent of OIDs.