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

From Tom Lane
Subject Re: pgsql-server/ oc/src/sgml/ref/psql-ref.sgml rc ...
Date
Msg-id 27799.1036790460@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql-server/ oc/src/sgml/ref/psql-ref.sgml rc ...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: pgsql-server/ oc/src/sgml/ref/psql-ref.sgml rc ...  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-committers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> 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?

The thing must compute the output width in order to align the column
headers, no?  It might be that the code is structured in a way that
the info isn't readily available when we'd start the pager, but at
least in principle it's doable ...

            regards, tom lane

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql-server/ oc/src/sgml/ref/psql-ref.sgml rc ...
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql-server/ oc/src/sgml/ref/psql-ref.sgml rc ...