Re: Usability fail with psql's \dp command - Mailing list pgsql-hackers

From David Fetter
Subject Re: Usability fail with psql's \dp command
Date
Msg-id 20180729012642.GA29170@fetter.org
Whole thread Raw
In response to Re: Usability fail with psql's \dp command  (Fabien COELHO <coelho@cri.ensmp.fr>)
List 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


pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Making "COPY partitioned_table FROM" faster
Next
From: Tomas Vondra
Date:
Subject: Re: [PATCH] Improve geometric types