Re: [HACKERS] psql \h alter scrolls of screen

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] psql \h alter scrolls of screen
Date: 2003-09-11 18:16:13
Message-ID: Pine.LNX.4.44.0309112014400.1089-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-09-11 18:25:17 Re: massive quotes?
Previous Message Peter Eisentraut 2003-09-11 18:13:41 Re: Trouble with error message encoding

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-09-11 18:28:36 Re: [HACKERS] psql \h alter scrolls of screen
Previous Message Bruce Momjian 2003-09-11 17:31:58 Re: minor documentation improvements