pgsql: Expand AclMode to 64 bits - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Expand AclMode to 64 bits
Date
Msg-id E1oxvf9-000XEs-No@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Expand AclMode to 64 bits
Re: pgsql: Expand AclMode to 64 bits
List pgsql-committers
Expand AclMode to 64 bits

We're running out of bits for new permissions. This change doubles the
number of permissions we can accomodate from 16 to 32, so the
forthcoming new ones for vacuum/analyze don't exhaust the pool.

Nathan Bossart

Reviewed by: Bharath Rupireddy, Kyotaro Horiguchi, Stephen Frost, Robert
Haas, Mark Dilger, Tom Lane, Corey Huinker, David G. Johnston, Michael
Paquier.

Discussion: https://postgr.es/m/20220722203735.GB3996698@nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7b378237aa805711353075de142021b1d40ff3b0

Modified Files
--------------
src/backend/nodes/outfuncs.c     |  2 +-
src/bin/pg_upgrade/check.c       | 35 +++++++++++++++++++++++++++++++++++
src/include/catalog/catversion.h |  2 +-
src/include/catalog/pg_type.dat  |  4 ++--
src/include/nodes/parsenodes.h   |  6 +++---
src/include/utils/acl.h          | 28 ++++++++++++++--------------
6 files changed, 56 insertions(+), 21 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Simplify vacuum_set_xid_limits() signature.
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Support for custom slots in the custom executor nodes