Re: pgsql-server/ oc/src/sgml/ref/psql-ref.sgml rc ...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/ oc/src/sgml/ref/psql-ref.sgml rc ...
Date: 2002-11-08 20:43:21
Message-ID: 200211082043.gA8KhLG13565@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> Wasn't that patch rejected in favor of doing it another way? I thought
> >> we were going to make the use-the-pager decision depend on width as well
> >> as height, so that it would work automatically instead of needing an
> >> "always" kluge.
>
> > His reply was that there is no way to know what pager they chose and how
> > it handles wide output (wrap or horizontal scroll), so he felt we still
> > need the option.
>
> That argument seems to miss the point: if your pager doesn't handle
> horizontal scroll, so what? I don't see how you lose anything if the
> system invokes the pager on wide-but-short displays. It can't be worse
> than not invoking the pager, can it?

So you are suggesting invoking the pager if the output goes over the
display length, no matter how many rows? Do you know how to determine
the output width before displaying any rows?

--
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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2002-11-08 21:21:00 Re: pgsql-server/ oc/src/sgml/ref/psql-ref.sgml rc ...
Previous Message Tom Lane 2002-11-08 20:40:23 Re: pgsql-server/ oc/src/sgml/ref/psql-ref.sgml rc ...