From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | Francisco Olarte <folarte(at)peoplecall(dot)com>, Ed Avis <eda(at)waniasset(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: BUG #11986: psql uses pager inside Emacs shell buffer (not a terminal) |
Date: | 2014-12-09 14:42:29 |
Message-ID: | 661.1418136149@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Alvaro Herrera <alvherre(at)2ndquadrant(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Sackville-West | 2014-12-09 17:28:52 | Re: regression, deadlock in high frequency single-row UPDATE |
Previous Message | Alvaro Herrera | 2014-12-09 14:14:48 | Re: regression, deadlock in high frequency single-row UPDATE |