Re: [HACKERS] psql \h alter scrolls of screen - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: [HACKERS] psql \h alter scrolls of screen
Date
Msg-id Pine.LNX.4.44.0309112014400.1089-100000@peter.localdomain
Whole thread Raw
In response to Re: [HACKERS] psql \h alter scrolls of screen  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [HACKERS] psql \h alter scrolls of screen
List pgsql-patches
Bruce Momjian writes:

> OK, turns out the '\h alter' code does a simple printf(), not a
> PageOutput() and fprintf() to that pipe.  Various \h outputs are long,
> including CREATE TABLE, GRANT, and ALTER TABLE.  ALTER itself is really
> larger because it prints all the ALTER commands help.

They are long, but not not longer than a few pages, in which case it's
more convenient to use your terminals scrolling functionality.  It's a
different story when query output is thousands of lines long, in which
case you usually cannot scroll anymore.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: minor documentation improvements
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] psql \h alter scrolls of screen