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