Re: controlling psql's use of the pager a bit more

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: controlling psql's use of the pager a bit more
Date: 2014-12-04 20:53:28
Message-ID: 20141204205328.GE26945@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan wrote:

> However, there is more work to do. As Tom noted upthread, psql's calculation
> of the number of lines is pretty bad. For example, if I do:
>
> \pset pager_min_lines 100
> select * from generate_series(1,50);
>
> the pager still gets invoked, which is unfortunate to say the least.
>
> So I'm going to take a peek at that.

Any luck there?

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2014-12-04 20:59:17 Re: superuser() shortcuts
Previous Message Andrew Dunstan 2014-12-04 20:47:02 Re: Bugfix and new feature for PGXS