Re: [HACKERS] psql and pager - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] psql and pager
Date
Msg-id 20000222213007B.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: [HACKERS] psql and pager  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
Responses Re: [HACKERS] psql and pager
List pgsql-hackers
> > Does anybody know how to disable "pager" of psql? It's really annoying
> > when I use psql in my emacs's shell buffer...
> 
> \pset pager
> 
> Put it in .psqlrc if you like. (Or in .psqlrc-7.0.0 to not affect the old
> one.)

Thansk. I have read the man page of psql. However I misunderstood:

>Toggles the list of a pager to do table output. If the environment
>variable PAGER is set, the output is piped to the specified program.
>Otherwise more is used. 
>
>In any case, psql only uses the pager if it seems appropriate. 

I thought psql may use a pager even if \pset toggles off a pager.  I
need to learn English more:-)
--
Tatsuo Ishii



pgsql-hackers by date:

Previous
From: sszabo@bigpanda.com
Date:
Subject: Re: [HACKERS] Beta for 4:30AST ... ?
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] psql and pager