Re: psql: Add role's membership options to the \du+ command - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: psql: Add role's membership options to the \du+ command
Date
Msg-id 20230719101328.dcfbbvxjenac7ers@alvherre.pgsql
Whole thread Raw
In response to Re: psql: Add role's membership options to the \du+ command  (Pavel Luzanov <p.luzanov@postgrespro.ru>)
Responses Re: psql: Add role's membership options to the \du+ command
List pgsql-hackers
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/)



pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: A minor adjustment to get_cheapest_path_for_pathkeys
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: [PoC] pg_upgrade: allow to upgrade publisher node