pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavel Luzanov <p.luzanov@postgrespro.ru>
To: Bruce Momjian <bruce@momjian.us>
Cc: Noah Misch <noah@leadboat.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Subject: Re: PG 16 draft release notes ready
Date: Tue, 22 Aug 2023 10:02:16 +0300
Message-ID: <29b97504-80a3-fdcc-538e-cadde3d8ecd5@postgrespro.ru> (raw)
In-Reply-To: <ZOPeDOuH9Gokf7js@momjian.us>
References: <ZGaPa7M3gc2THeDJ@momjian.us>
	<20230805230847.GA1370050@rfd.leadboat.com>
	<ZNQwyRTGft8myjJR@momjian.us>
	<ZN2Hval7UFxl4MA6@momjian.us>
	<707faa3c-1e7b-d209-fec8-a2a6c9ee182f@postgrespro.ru>
	<ZOD1Axx4p2lz0KmT@momjian.us>
	<ZOPeDOuH9Gokf7js@momjian.us>

On 22.08.2023 00:58, Bruce Momjian wrote:
> Attached is an applied patch that moves the inherit item into
> incompatibilities. clarifies it, and splits out the ADMIN syntax item.

 > The role's default inheritance behavior can be overridden with the 
new <command>GRANT ... WITH INHERIT</command> clause.

The only question about "can be". Why not "will be"? The inheritance 
behavior will be changed anyway.

> Please let me know if I need any other changes.  Thanks.

* Allow psql's access privilege commands to show system objects (Nathan 
Bossart, Pavel Luzanov)
     The options are \dpS, \zS, and \drg.

I think that this description correct only for the \dpS and \zS commands.
(By the way, unfortunately after reverting MAINTAIN privilege this 
commands are not much useful in v16.)

But the \drg command is a different thing. This is a full featured 
replacement for "Member of" column of the \du, \dg commands.
It shows not only members, but granted options (admin, inherit, set) and 
grantor.
This is important information for membership usage and administration.
IMO, removing the "Member of" column from the \du & \dg commands also 
requires attention in release notes.

So, I suggest new item in the psql section for \drg. Something like this:

* Add psql \drg command to display role grants and remove the "Member 
of" column from \du & \dg altogether.

-- 
Pavel Luzanov
Postgres Professional: https://postgrespro.com






view thread (141+ messages)  latest in thread

Message-ID: <29b97504-80a3-fdcc-538e-cadde3d8ecd5@postgrespro.ru>
Permalink:  ../29b97504-80a3-fdcc-538e-cadde3d8ecd5@postgrespro.ru/
Also on:    postgresql.org/message-id/29b97504-80a3-fdcc-538e-cadde3d8ecd5@postgrespro.ru

 · 

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-hackers@postgresql.org
  Cc: p.luzanov@postgrespro.ru, bruce@momjian.us, noah@leadboat.com, robertmhaas@gmail.com
  Subject: Re: PG 16 draft release notes ready
  In-Reply-To: <29b97504-80a3-fdcc-538e-cadde3d8ecd5@postgrespro.ru>

* 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