Re: Explicit psqlrc - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Explicit psqlrc
Date
Msg-id 1279730470.1739.10746.camel@ebony
Whole thread Raw
In response to Re: Explicit psqlrc  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Wed, 2010-07-21 at 17:24 +0300, Peter Eisentraut wrote:
> 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?

Changing the historical defaults, such as error/exit behaviour, ensuring
timing is on etc..

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Development, 24x7 Support, Training and Services



pgsql-hackers by date:

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