Re: Problem with displaying "wide" tables in psql - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Problem with displaying "wide" tables in psql
Date
Msg-id CAM-w4HN1a+eo4nq9i290b0gKLsJsfucwT8i-KOas8Fki0Gv+5A@mail.gmail.com
Whole thread Raw
In response to Re: Problem with displaying "wide" tables in psql  (Greg Stark <stark@mit.edu>)
Responses Re: Problem with displaying "wide" tables in psql  (Sergey Muraviov <sergey.k.muraviov@gmail.com>)
List pgsql-hackers
Ok, So I've hacked on this a bit. Below is a test case showing the
problems I've found.

1) It isn't using the "newline" and "wrap" indicators or dividing lines.

2) The header is not being displayed properly when it contains a newline.

I can hack in the newline and wrap indicators but the header
formatting requires reworking the logic a bit. The header and data
need to be stepped through in parallel rather than having a loop to
handle the wrapping within the handling of a single line. I don't
really have time for that today but if you can get to it that would be
fine,

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: Partial match fix for fast scan