Re: patch: psql - enforce constant width of last column - Mailing list pgsql-hackers

From Tom Lane
Subject Re: patch: psql - enforce constant width of last column
Date
Msg-id 15052.1572900946@sss.pgh.pa.us
Whole thread Raw
In response to Re: patch: psql - enforce constant width of last column  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: patch: psql - enforce constant width of last column  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> st 18. 9. 2019 v 12:52 odesílatel Ahsan Hadi <ahsan.hadi@gmail.com> napsal:
>> does this patch have any value for psql without pspg?

> The benefit of this patch is just for pspg users today.

TBH, I think we should just reject this patch.  It makes psql's
table-printing behavior even more complicated than it was before.
And I don't see how pspg gets any benefit --- you'll still have
to deal with the old code, for an indefinite time into the future.

Moreover, *other* programs that pay close attention to the output
format will be forced to deal with the possibility that this flag
has been turned on, which typically they wouldn't even have a way
to find out.  So I think you're basically trying to export your
problems onto everyone else.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Missed check for too-many-children in bgworker spawning
Next
From: Thomas Munro
Date:
Subject: Re: Collation versioning