From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | greg(at)turnstep(dot)com |
Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] psql: \pset pager 'always'? |
Date: | 2002-11-08 19:10:15 |
Message-ID: | 200211081910.gA8JAFu29222@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-patches |
OK, I have applied the following patch for 7.4. I made the following
changes:
o Pager code is now centralized in PageOutput
o You used 'small' when you meant 'short' in a few places
o Added documentation
o Fixed bug where '\pset pager' crashed psql
---------------------------------------------------------------------------
greg(at)turnstep(dot)com wrote:
> > I'm really annoyed by that little 'feature' of psql that decides whether
> > to use pager or not. I personally use GNU 'less' with options -S -F as my
> > pager, which allows me to scroll vertically AS WELL AS horizontally on
> > long input. So a "use pager always" option with no strange automagic
> > behaviour would be nice.
>
> Not a bad idea. Here is a patch that does just that, while maintaining the
> "traditional" behavior, so the change should be transparent. Use the
> command "\pset pager always" to turn it on. Anything else does the
> normal toggle between "on" and "off"
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 7.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Swan | 2002-11-08 19:17:29 | Re: Can't connect to PGSQL |
Previous Message | Marc G. Fournier | 2002-11-08 19:01:05 | Re: OT: mailing list delays |
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2002-11-08 19:19:47 | _getPlan missing support for some Plan node elements |
Previous Message | Bruce Momjian | 2002-11-08 17:59:52 | Re: one last patch - array lower and upper bound |