pgsql: doc: Mention REPACK in MAINTAIN privilege descriptions

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Mention REPACK in MAINTAIN privilege descriptions
Date: 2026-07-16 04:41:52
Message-ID: E1wkDux-000Ocp-26@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

doc: Mention REPACK in MAINTAIN privilege descriptions

REPACK requires the MAINTAIN privilege, but it was omitted from the
lists of commands covered by that privilege in ddl.sgml and the
description of the predefined pg_maintain role in user-manag.sgml.
This was an oversight in commit ac58465e061, which introduced
REPACK.

Add REPACK to both documentation lists, and update the corresponding
comment in aclchk.c.

Author: Shinya Kato <shinya11(dot)kato(at)gmail(dot)com>
Reviewed-by: Ewan Young <kdbase(dot)hack(at)gmail(dot)com>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAOzEurRJOVokiB2J8nrF569nX-ZMb0oRSB0C=yZQ17mZxd4_BQ@mail.gmail.com
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8a84ddd8c63289e14e1e1cc2c8a4a9c41f652e1a

Modified Files
--------------
doc/src/sgml/ddl.sgml | 3 ++-
doc/src/sgml/user-manag.sgml | 1 +
src/backend/catalog/aclchk.c | 4 ++--
3 files changed, 5 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2026-07-16 04:42:04 pgsql: Check CREATE_REPLICATION_SLOT response shape in libpqwalreceiver
Previous Message Fujii Masao 2026-07-16 04:41:24 pgsql: doc: Mention REPACK in MAINTAIN privilege descriptions