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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
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 21:41:27
Message-ID: 5480D507.3050303@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 12/04/2014 03:53 PM, Alvaro Herrera wrote:
> 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?
>

Some, yes, See
<http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=4077fb4d1d34ad04dfb95ba676c2b43ea1f1da53>

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2014-12-04 22:06:02 Re: superuser() shortcuts
Previous Message Heikki Linnakangas 2014-12-04 21:39:02 Re: libpq pipelining