Re: psql: Add role's membership options to the \du+ command
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: Pavel Luzanov <p.luzanov@postgrespro.ru>,
"robertmhaas@gmail.com" <robertmhaas@gmail.com>,
David Zhang <david.zhang@highgo.ca>,
"pgsql-hackers@lists.postgresql.org"
<pgsql-hackers@lists.postgresql.org>
Date: 2023-04-04T16:13:10Z
Lists: pgsql-hackers
"David G. Johnston" <david.g.johnston@gmail.com> writes: > I've marked this Ready for Committer. 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. On the other hand, there's nearby precedent for single-letter abbreviations in ACL displays. Nobody particularly likes those, though. Also, if we're modeling this on ACLs then the display could be further shortened to "(ais)" or the like. Also, the patch is ignoring i18n issues. I suppose if we stick with said single-letter abbreviations we'd not translate them, but the construction "rolename from rolename" ought to be translatable IMO. Perhaps it'd be enough to allow replacement of "from", but I wonder if the phrase order would need to be different in some languages? regards, tom lane
Commits
-
Add psql \drg command to display role grants.
- d65ddaca93f6 17.0 landed
- 0a1d2a7df852 16.0 landed