Re: proposal: psql PSQL_TABULAR_PAGER variable

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: psql PSQL_TABULAR_PAGER variable
Date: 2019-04-18 13:51:07
Message-ID: 20190418135107.n2723qacynz3ysd2@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 18, 2019 at 07:20:37AM +0200, Pavel Stehule wrote:
> Hi
>
> I wrote a pspg pager https://github.com/okbob/pspg
>
> This pager is designed for tabular data. It can work in fallback mode as
> classic pager, but it is not designed for this purpose (and I don't plan do
> it). Can we enhance a set of psql environment variables about
> PSQL_TABULAR_PAGER variable. This pager will be used, when psql will display
> tabular data.

In testing pspg, it seems to work fine with tabular and \x-non-tabular
data. Are you asking for a pager option that is only used for non-\x
display? What do people want the non-pspg pager to do?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-04-18 14:09:53 Re: Question about the holdable cursor
Previous Message Etsuro Fujita 2019-04-18 13:10:06 Re: bug in update tuple routing with foreign partitions