Re: pspg - psql pager

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Andreas Joseph Krogh <andreas(at)visena(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pspg - psql pager
Date: 2017-11-15 14:46:23
Message-ID: CAFj8pRC3mXDGgj1CsskaCd-w__vwASJaQMm9CHzFW=--b3g4jA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2017-11-15 15:42 GMT+01:00 Merlin Moncure <mmoncure(at)gmail(dot)com>:

> On Wed, Nov 15, 2017 at 4:45 AM, Andreas Joseph Krogh
> <andreas(at)visena(dot)com> wrote:
> > På onsdag 15. november 2017 kl. 10:41:45, skrev Pavel Stehule
> > <pavel(dot)stehule(at)gmail(dot)com>:
> >
> > Hi
> >
> > I finished new pager, that can be interesting for postgresql expert
> users.
> > Thanks for making this, "-X --no-mouse" made my day.
>
> This was my first bugfix/suggestion :-D.
>
> I use psql all day, every day. PSPG IS AWESOME, IF YOU USE PSQL GET
> IT AND DON'T LOOK BACK. There are no major issues with it; it's
> wonderful. I do not advise a global definition of PAGER...it will
> break other utilities (like man). I find the best way to invoke the
> functionality is via bash:
>

:)

you can do it from .psqlrc

\setenv PAGER 'pspg ....'

or

psql from PostgreSQL 11 should to know PSQL_PAGER

Regards

Pavel

> alias psql='PAGER="/home/mmoncure/pspg -s0 -X --no-mouse" psql'
>
> Thank you Pavel.
>
> merlin
>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2017-11-15 14:54:43 Re: [HACKERS] Transaction control in procedures
Previous Message Merlin Moncure 2017-11-15 14:42:10 Re: pspg - psql pager