Re: Explicit psqlrc
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Magnus Hagander <magnus@hagander.net>, David Christensen <david@endpoint.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-03-06T21:33:54Z
Lists: 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