Re: alternate psql file locations

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2011-12-31T20:17:59Z
Lists: pgsql-hackers
Excerpts from Andrew Dunstan's message of sáb dic 31 12:52:02 -0300 2011:
> It's not a big thing, but I just found myself in a shared environment 
> wanting to be able to set alternative locations for the psql startup 
> file and history. I know there's the HISTFILE variable, but I can't 
> easily set that automatically unless I can at least have my own .psqlrc. 
> ISTM it should be a fairly simple thing to provide these, via 
> environment variables. Is there general interest in such a thing?

I wanted such a thing mere two weeks ago ...

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support