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

From: Andres Freund <andres(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: 2015-03-26 13:43:09
Message-ID: 20150326134309.GH451@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2014-12-21 14:22:10 -0500, Andrew Dunstan wrote:
> @@ -301,11 +301,11 @@ slashUsage(unsigned short int pager)
> * show list of available variables (options) from command line
> */
> void
> -helpVariables(unsigned short int pager)
> +helpVariables(unsigned short int pager, int pager_min_lines)
> {
> FILE *output;

Odd space before pager_min_lines.

Without having actually tried it, it looks clean enough to me. If
there's more pager options we might at some point introduce a pager
options struct instead adding more options to PageOutput. But for now it
seems ok enough.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2015-03-26 13:43:37 Re: GSSAPI, SSPI - include_realm default
Previous Message Andrew Dunstan 2015-03-26 13:35:31 Re: controlling psql's use of the pager a bit more