Review: alternate psql file locations - Mailing list pgsql-hackers

From David E. Wheeler
Subject Review: alternate psql file locations
Date
Msg-id F02F8F95-F722-4D53-B9A2-D22E704CE219@justatheory.com
Whole thread Raw
List pgsql-hackers
Reference: http://archives.postgresql.org/message-id/4F00CA9E.9000307@dunslane.net

This patch adds support for two new environment variables:

PSQL_HISTORY: Alternative location for the command history file.
PSQLRC: Alternative location of the user's .psqlrc file.

The context diff patch applies cleanly with a few offsets. Builds normally and all tests pass, although it adds no new
tests.The documentation looks fine. The functionality is useful and works perfectly well in my quick test. 

Marking ready for committer.

Best,

David



pgsql-hackers by date:

Previous
From: Jan Urbański
Date:
Subject: Re: Potential reference miscounts and segfaults in plpython.c
Next
From: Sandro Santilli
Date:
Subject: Re: Runtime SHAREDIR for testing CREATE EXTENSION