Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)
Дата
Msg-id 661.1418136149@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal)  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-bugs
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Do we really hardcode more/less?  I thought we just used whatever $PAGER
> is set to.

Yeah, if PAGER is set.  If not, we fall back to some wired-in default.
But I think the proposal here is to let an emacs-related environment
variable override whether we use a pager at all.

> BTW another thing you could try is
> export PAGER=cat
> from within Emacs.

True.  That would have the advantage of fixing more stuff than just psql,
so there's some attraction to doing that instead of hacking psql.

            regards, tom lane

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: regression, deadlock in high frequency single-row UPDATE
Следующее
От: Andrew Sackville-West
Дата:
Сообщение: Re: regression, deadlock in high frequency single-row UPDATE