Re: Problem with displaying "wide" tables in psql

From: Sergey Muraviov <sergey(dot)k(dot)muraviov(at)gmail(dot)com>
To: Greg Stark <stark(at)mit(dot)edu>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, Emre Hasegeli <emre(at)hasegeli(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Problem with displaying "wide" tables in psql
Date: 2014-04-10 20:14:05
Message-ID: CAJTaR31A6H2_xwyHw7NCwyuvg5e4K49z8S77232s65u76Y8eoQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi.

Thanks for your tests.

I've fixed problem with headers, but got new one with data.
I'll try to solve it tomorrow.

2014-04-10 18:45 GMT+04:00 Greg Stark <stark(at)mit(dot)edu>:

> 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,
>

--
Best regards,
Sergey Muraviov

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-04-10 20:43:20 Re: Partial match fix for fast scan
Previous Message Dean Rasheed 2014-04-10 19:34:56 Re: [PATCH] Negative Transition Aggregate Functions (WIP)