Re: [HACKERS] proposal: psql: check env variable PSQL_PAGER

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] proposal: psql: check env variable PSQL_PAGER
Дата
Msg-id 2326.1504627609@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] proposal: psql: check env variable PSQL_PAGER  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: [HACKERS] proposal: psql: check env variable PSQL_PAGER  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> [ psql-psql-pager-env-2.patch ]

Pushed, with some fooling with the documentation (notably,
re-alphabetizing relevant lists).

Grepping turned up an additional place that's examining the PAGER
environment variable, namely PQprint() in libpq/fe-print.c.  That's
not used by psql (or anything else in core PG) anymore; we're only
keeping it around for hypothetical external users of libpq.  I debated
whether to make it honor PSQL_PAGER.  I decided not to, since those
external users are by definition not psql ... but I added
a comment about that.
        regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] pg_basebackup throttling doesn't throttle as promised
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] proposal: psql: check env variable PSQL_PAGER