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

From Pavel Stehule
Subject patch: psql - enforce constant width of last column
Date
Msg-id CAFj8pRB-m4dCLmsM+7HdMaq5OAnS2h50g16tj1dNG9fYQLyQVw@mail.gmail.com
Whole thread Raw
Responses Re: patch: psql - enforce constant width of last column  (Ahsan Hadi <ahsan.hadi@gmail.com>)
List pgsql-hackers
Hi

When I played with vertical cursor support I got badly displayed last columns when border was not 2. Only when border is 2, then psql displays last column with same width for each row.

I think so we can force column width alignment for any border styles today (for alignment and wrapping styles) or as minimum this behave can be optional.

I wrote a patch with pset option "final_spaces", but I don't see a reason why we trim rows today.

Regards

Pavel
Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: msys2 vs pg_upgrade/test.sh
Next
From: fn ln
Date:
Subject: Re: BUG #15977: Inconsistent behavior in chained transactions