Re: Things I don't like about \du's "Attributes" column

From: Wen Yi <wen-yi(at)qq(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>
Subject: Re: Things I don't like about \du's "Attributes" column
Date: 2024-04-14 07:47:55
Message-ID: 171308087575.1152.7535036009650598157.pgcf@coridan.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I think the output need to change, like this:

postgres=# \du+
List of roles
Role name | Login | Attributes | Password | Valid until | Connection limit | Description
-----------+-------+-------------+----------+-------------+------------------+-------------
test | | Inherit | | | |
test2 | Can | Inherit | Has | | |
wenyi | Can | Superuser +| | | |
| | Create DB +| | | |
| | Create role+| | | |
| | Inherit +| | | |
| | Replication+| | | |
| | Bypass RLS | | | |
(3 rows)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-04-14 08:16:24 Re: PG_TEST_EXTRAs by theme rather than test name (Re: pgsql: Add tests for libpq gssencmode and sslmode options)
Previous Message Thomas Munro 2024-04-14 03:16:56 Re: Cleaning up threading code