The following bug has been logged on the website:
Bug reference: 10991
Logged by: Andrew Pennebaker
Email address: andrew(dot)pennebaker(at)gmail(dot)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.