Re: Explicit psqlrc

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: David Christensen <david@endpoint.com>, gabrielle <gorthx@gmail.com>, Stephen Frost <sfrost@snowman.net>, Simon Riggs <simon@2ndquadrant.com>, Alvaro Herrera <alvherre@commandprompt.com>, Mark Wong <markwkm@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2010-07-21T14:24:26Z
Lists: pgsql-hackers
On tis, 2010-07-20 at 11:48 -0400, Robert Haas wrote:
> It's tempting to propose making .psqlrc apply only in interactive
> mode, period.  But that would be an incompatibility with previous
> releases, and I'm not sure it's the behavior we want, either.

What is a use case for having .psqlrc be read in noninteractive use?