From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Pavel Luzanov <p.luzanov@postgrespro.ru>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: Jonathan S. Katz <jkatz@postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: David Zhang <david.zhang@highgo.ca>
Cc: pgsql-hackers@lists.postgresql.org <pgsql-hackers@lists.postgresql.org>
Cc: rmt@lists.postgresql.org
Cc: horikyota.ntt@gmail.com
Subject: Re: psql: Add role's membership options to the \du+ command
Date: Wed, 19 Jul 2023 12:13:28 +0200
Message-ID: <20230719101328.dcfbbvxjenac7ers@alvherre.pgsql> (raw)
In-Reply-To: <c881e88b-ab02-775b-9d12-95787d603175@postgrespro.ru>
I tried this out. It looks good to me, and I like it. Not translating
the labels seems correct to me.
+1 for backpatching to 16, given that it's a psql-only change that
pertains to a backend change that was done in the 16 timeframe.
Regarding the controversy of showing SET for previous versions, I think
it's clearer if it's shown, because ultimately what the user really
wants to know is if the role can be SET to; they don't want to have to
learn from memory in which version they can SET because the column is
empty and in which version they have to look for the label.
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"Small aircraft do not crash frequently ... usually only once!"
(ponder, http://thedailywtf.com/)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: alvherre@alvh.no-ip.org, p.luzanov@postgrespro.ru, tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, jkatz@postgresql.org, robertmhaas@gmail.com, david.zhang@highgo.ca, rmt@lists.postgresql.org, horikyota.ntt@gmail.com
Subject: Re: psql: Add role's membership options to the \du+ command
In-Reply-To: <20230719101328.dcfbbvxjenac7ers@alvherre.pgsql>
References: <c881e88b-ab02-775b-9d12-95787d603175@postgrespro.ru> <20230719101328.dcfbbvxjenac7ers@alvherre.pgsql>
* 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