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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: controlling psql's use of the pager a bit more
Дата
Msg-id 20150326134309.GH451@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: controlling psql's use of the pager a bit more  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: controlling psql's use of the pager a bit more  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: controlling psql's use of the pager a bit more
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: GSSAPI, SSPI - include_realm default