Re: Explicit psqlrc - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Explicit psqlrc
Date
Msg-id 4189.1267911234@sss.pgh.pa.us
Whole thread Raw
In response to Re: Explicit psqlrc  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Explicit psqlrc
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I can see the environment variable variant as an analogy to BASH_ENV,
> but what is the use case for the --psqlrc option?  Wouldn't it be easier
> and more useful to just be able to process more than one file, say by
> specifying -f more than once?

The analogy I was thinking about was psql -X, but I agree that it's
not obvious why this shouldn't be thought of as an additional -f file.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: SQL compatibility reminder: MySQL vs PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: Repetition of warning message while REVOKE