From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Wen Yi <wen-yi(at)qq(dot)com> |
Cc: | Pavel Luzanov <p(dot)luzanov(at)postgrespro(dot)ru>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jim Nasby <jim(dot)nasby(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Things I don't like about \du's "Attributes" column |
Date: | 2024-04-15 21:27:25 |
Message-ID: | CAKFQuwaPfA+eO45VqeRk7WWi2=RQxeF999JmC1Z8Jmrvxw4g8A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Apr 13, 2024 at 7:02 PM Wen Yi <wen-yi(at)qq(dot)com> wrote:
> I think we can change the output like this:
>
> postgres=# \du
> List of roles
> Role name | Login | Attributes | Password | Valid until | Connection
> limit
>
> -----------+-------+-------------+----------+-------------+------------------
> test | | Inherit | | |
> test2 | Can | Inherit | Has | |
> wenyi | Can | Superuser +| | |
> | | Create DB +| | |
> | | Create role+| | |
> | | Inherit +| | |
> | | Replication+| | |
> | | Bypass RLS | | |
> (3 rows)
>
> And I submit my the patch, have a look?
>
>
Why? I actually am generally open to false being encoded as blank where
there are only two possible values, but there is no precedence of choosing
something besides 'yes' or 'true' to represent the boolean true value.
Whether Password is truly two-valued is debatable per the ongoing
discussion.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Joel Jacobson | 2024-04-15 21:33:01 | Optimize numeric.c mul_var() using the Karatsuba algorithm |
Previous Message | Tristan Partin | 2024-04-15 21:14:10 | Re: make dist using git archive |