From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Pavel Luzanov <p.luzanov@postgrespro.ru>
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 11:39:12 -0400
Message-ID: <250360.1689781152@sss.pgh.pa.us> (raw)
In-Reply-To: <20230719101328.dcfbbvxjenac7ers@alvherre.pgsql>
References: <20230719101328.dcfbbvxjenac7ers@alvherre.pgsql>
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> 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.
Agreed. In the interests of moving things along, I'll take point
on getting this committed.
> 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.
Seems reasonable. I'll go with that interpretation unless there's
pretty quick pushback.
regards, tom lane
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: tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, p.luzanov@postgrespro.ru, 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: <250360.1689781152@sss.pgh.pa.us>
References: <20230719101328.dcfbbvxjenac7ers@alvherre.pgsql> <250360.1689781152@sss.pgh.pa.us>
* 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