Re: Usability fail with psql's \dp command

From: David Fetter <david(at)fetter(dot)org>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Usability fail with psql's \dp command
Date: 2018-07-29 01:26:42
Message-ID: 20180729012642.GA29170@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jul 28, 2018 at 08:11:17PM -0400, Fabien COELHO wrote:
>
> >>So those are definitely different privilege states, but they look
> >>the same.
> >
> >Please find attached a patch to fix this. Would this be a
> >back-patchable bug?
>
> My 0.02€: this creates an exception for anyone trying to parse the output.
> I would have preferred empty logically meaning no rights, and the default
> being spelled out explicitely.

If we were designing this on a clean sheet of paper, I'd agree that
what you propose is a better UI, but it's a significant change from
what we have now. People parsing much more common output--this is
pretty corner-case--will have to make changes. Do you think it's
"better enough" to break compatibility in the way you propose, forcing
it into 12?

Best,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2018-07-29 01:54:18 Re: [PATCH] Improve geometric types
Previous Message David Rowley 2018-07-29 01:00:05 Re: Making "COPY partitioned_table FROM" faster