2017-11-15 15:42 GMT+01:00 Merlin Moncure <mmonc...@gmail.com>:

> On Wed, Nov 15, 2017 at 4:45 AM, Andreas Joseph Krogh
> <andr...@visena.com> wrote:
> > På onsdag 15. november 2017 kl. 10:41:45, skrev Pavel Stehule
> > <pavel.steh...@gmail.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
>
>

Reply via email to