Re: Explicit psqlrc

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: gabrielle <gorthx(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Mark Wong <markwkm(at)gmail(dot)com>, David Christensen <david(at)endpoint(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Explicit psqlrc
Date: 2010-06-22 01:16:22
Message-ID: AANLkTilxKOWzU-OWJzDKW8SZswvbBa-xO7ABqFJ9eDV4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 21, 2010 at 9:13 PM, Stephen Frost <sfrost(at)snowman(dot)net> wrote:
> * Robert Haas (robertmhaas(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-06-22 02:18:46 missing "else" in postmaster.c?
Previous Message Stephen Frost 2010-06-22 01:13:10 Re: Explicit psqlrc