BUG #10991: psql -c ignores my pager settings in ~/.psqlrc - Mailing list pgsql-bugs

From andrew.pennebaker@gmail.com
Subject BUG #10991: psql -c ignores my pager settings in ~/.psqlrc
Date
Msg-id 20140718160405.2826.51207@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #10991: psql -c ignores my pager settings in ~/.psqlrc  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      10991
Logged by:          Andrew Pennebaker
Email address:      andrew.pennebaker@gmail.com
PostgreSQL version: 9.3.4
Operating system:   Ubuntu 14.04
Description:

I never want to use the pager, as it comes up at the most inopportune times
in Emacs shell-mode, so I have configured my ~/.psqlrc with:

\pset pager off

This works for psql -f <script>.psql. However, when I run one-off commands
with psql -c <command>, the pager pops up again, making psql -c really hard
to use in my Emacs workflow.

pgsql-bugs by date:

Previous
From: Marc Schablewski
Date:
Subject: PG 9.3.x: Dropping a table column breaks restore of dump if table is used as return type of a function used in a view
Next
From: Tom Lane
Date:
Subject: Re: BUG #10976: Two memory leaks in regcomp cleanup