Re: controlling psql's use of the pager a bit more - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: controlling psql's use of the pager a bit more
Date
Msg-id 5480D507.3050303@dunslane.net
Whole thread Raw
In response to Re: controlling psql's use of the pager a bit more  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List 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



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: libpq pipelining
Next
From: Stephen Frost
Date:
Subject: Re: superuser() shortcuts