Skip site navigation (1) Skip section navigation (2)

Re: psql additions

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql additions
Date: 2011-09-12 13:01:07
Message-ID: 4E6E0293.8000609@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackers

On 09/12/2011 08:39 AM, Peter Eisentraut wrote:
> On mån, 2011-09-12 at 05:26 -0400, Andrew Dunstan wrote:
>> On 09/11/2011 11:43 PM, Robert Haas wrote:
>>>
>>>> Second, I'd like to be able to set a minimum number of lines below which the
>>>> pager would not be used, something like:
>>>>
>>>>     \pset pagerminlines 200
>>>>
>>>> Thoughts?
>>> Gee, why do I feel like we have something like this already?
>> We do? We control columns, but not lines AFAIK.
> We check the lines and columns in the terminal window.  Oddly enough,
> that code is in two separate places, so I don't know if they have
> consistent effects.
>
>

Yes, but what I want is to be able to control it. So even if my terminal 
is 50 lines long I want to be able to say "Don't use the pager unless 
there are 200 or more lines."

cheers

andrew

In response to

Responses

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2011-09-12 13:01:39
Subject: Re: What Would You Like To Do?
Previous:From: ktm@rice.eduDate: 2011-09-12 12:54:52
Subject: Re: Patch to improve reliability of postgresql on linux nfs

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group