patch: psql - enforce constant width of last column

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: patch: psql - enforce constant width of last column
Date: 2019-09-09 09:25:32
Message-ID: CAFj8pRB-m4dCLmsM+7HdMaq5OAnS2h50g16tj1dNG9fYQLyQVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
psql-use-final-spaces-always.patch text/x-patch 6.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message fn ln 2019-09-09 09:32:09 Re: BUG #15977: Inconsistent behavior in chained transactions
Previous Message Peter Eisentraut 2019-09-09 08:48:55 Re: msys2 vs pg_upgrade/test.sh