Re: Does PostGresSQL have this feature?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <martin(dot)chantler(at)convergys(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Does PostGresSQL have this feature?
Date: 2001-02-27 17:54:10
Message-ID: Pine.LNX.4.30.0102271852140.756-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

martin(dot)chantler(at)convergys(dot)com writes:

> For example in DB2 you can execute SQL from the command line (via terminal
> emulator)
> It will perform it entirely then display the results, but only one page at
> a time
> You can then page down and page up within the results (or scroll across)
>
> I notice that PSQL doesn't do this which makes large tables difficult to
> maintain

As another poster correctly guessed, you need to set the PAGER environment
variable to 'less'. The default pager is 'more', which is less
sophisticated, but it is the standard, more or less. (Pun not intended,
but tolerated.)

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pablo Prieto 2001-02-27 17:54:56 RE: Migrate from MS SQL 6.5 to postgres??
Previous Message Poul L. Christiansen 2001-02-27 17:31:33 Re: Does PostGresSQL have this feature?