Re: proposal: psql PSQL_TABULAR_PAGER variable - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: proposal: psql PSQL_TABULAR_PAGER variable
Date
Msg-id 20190418135107.n2723qacynz3ysd2@momjian.us
Whole thread Raw
In response to proposal: psql PSQL_TABULAR_PAGER variable  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal: psql PSQL_TABULAR_PAGER variable
List 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@momjian.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 +



pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: bug in update tuple routing with foreign partitions
Next
From: Tom Lane
Date:
Subject: Re: Question about the holdable cursor