Skip site navigation (1) Skip section navigation (2)

Re: alternate psql file locations

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: alternate psql file locations
Date: 2011-12-31 20:17:59
Message-ID: (view raw, whole thread or download thread mbox)
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(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to


pgsql-hackers by date

Next:From: Aidan Van DykDate: 2011-12-31 21:26:19
Subject: Re: alternate psql file locations
Previous:From: Tom LaneDate: 2011-12-31 18:39:12
Subject: Re: spinlocks on powerpc

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group