Re: Explicit psqlrc - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Explicit psqlrc
Date
Msg-id AANLkTilxKOWzU-OWJzDKW8SZswvbBa-xO7ABqFJ9eDV4@mail.gmail.com
Whole thread Raw
In response to Re: Explicit psqlrc  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Explicit psqlrc  (gabrielle <gorthx@gmail.com>)
List pgsql-hackers
On Mon, Jun 21, 2010 at 9:13 PM, Stephen Frost <sfrost@snowman.net> wrote:
> * Robert Haas (robertmhaas@gmail.com) wrote:
>> So none of the above sounds like desired behavior to me...  is that just me?
>
> Yeah, I'm not really thrilled with this..  I mentioned earlier what I
> thought would be a useful feature (basically, a switch which would
> ignore the main psqlrc and turn on the various options that make sense
> for a script), but that seems to have fallen to the wayside..

Well, that might be a good idea, too, but my expectation is that:

psql -f one -f two -f three

ought to behave in a manner fairly similar to:

cat one two three > all
psql -f all

and it sounds like with this patch that's far from being the case.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Explicit psqlrc
Next
From: Robert Haas
Date:
Subject: missing "else" in postmaster.c?