Re: Explicit psqlrc - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Explicit psqlrc
Date
Msg-id 1279733389-sup-540@alvh.no-ip.org
Whole thread Raw
In response to Re: Explicit psqlrc  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Explicit psqlrc
List pgsql-hackers
Excerpts from Peter Eisentraut's message of mié jul 21 10:24:26 -0400 2010:
> 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?

Even if there weren't one, why does it get applied to -f but not -c?
They're both noninteractive.


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: dynamically allocating chunks from shared memory
Next
From: Pavel Stehule
Date:
Subject: Re: patch: to_string, to_array functions