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

From Robert Haas
Subject Re: psql: Add role's membership options to the \du+ command
Date
Msg-id CA+TgmoatW6D_iyyCqbKcjS6MQt-fBTWzmynruk+x1B8oz22kog@mail.gmail.com
Whole thread Raw
In response to Re: psql: Add role's membership options to the \du+ command  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql: Add role's membership options to the \du+ command
List pgsql-hackers
On Tue, Apr 4, 2023 at 12:13 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Hmm ... not sure I like the proposed output.  The 'a', 'i', 's'
> annotations are short but they don't have much else to recommend them.

Yeah, I don't like that, either.

I'm not sure what the right thing to do is here. It's a problem to
have new information in the catalogs that you can't view via
\d<whatever>. But displaying that information as a string of
characters that will be gibberish to anyone but an expert doesn't
necessarily seem like it really solves the problem. However, if we
spell out the words, then it gets bulky. But maybe bulky is better
than incomprehensible.

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: psql: Add role's membership options to the \du+ command
Next
From: Tom Lane
Date:
Subject: Re: proposal: psql: show current user in prompt