pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rewrite previous commit's test for TestUpgradeXversion compatibi
Date: Sat, 23 Aug 2025 23:47:48 +0000
Message-ID: <E1upxxb-001MDD-2D@gemulon.postgresql.org> (raw)

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
------
master

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

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



view thread (7+ messages)  latest in thread

Message-ID: <E1upxxb-001MDD-2D@gemulon.postgresql.org>
Permalink:  ../E1upxxb-001MDD-2D@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1upxxb-001MDD-2D@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: noah@leadboat.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Rewrite previous commit's test for TestUpgradeXversion compatibi
  In-Reply-To: <E1upxxb-001MDD-2D@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox