Review: alternate psql file locations

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: PostgreSQL-development Hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Review: alternate psql file locations
Date: 2012-02-21 17:27:17
Message-ID: F02F8F95-F722-4D53-B9A2-D22E704CE219@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Urbański 2012-02-21 17:28:29 Re: Potential reference miscounts and segfaults in plpython.c
Previous Message Simon Riggs 2012-02-21 17:16:35 Re: [COMMITTERS] pgsql: Correctly initialise shared recoveryLastRecPtr in recovery.