pgsql: Provide environment overrides for psql file locations.
Provide environment overrides for psql file locations.
PSQL_HISTORY provides an alternative for the command history file,
and PSQLRC provides an alternative location for the .psqlrc file.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/34c978442c55dd13a3a8c6b90fd4380dad02f3da
Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 30 ++++++++++++++++++++++++++++++
src/bin/psql/input.c | 9 +++++++++
src/bin/psql/startup.c | 10 +++++++++-
3 files changed, 48 insertions(+), 1 deletions(-)
On 03/03/2012 04:43 PM, Andrew Dunstan wrote:
Provide environment overrides for psql file locations.
PSQL_HISTORY provides an alternative for the command history file,
and PSQLRC provides an alternative location for the .psqlrc file.
Forgot to mention this was reviewed by David Wheeler. Apologies.
cheers
andrew