Re: BUG #14037: Move history file - Mailing list pgsql-bugs

From bricklen
Subject Re: BUG #14037: Move history file
Date
Msg-id CAGrpgQ-dM87DMFibq_tntfSveeob_vycNV+dH=hqE7-nNWwC8g@mail.gmail.com
Whole thread Raw
In response to BUG #14037: Move history file  (vendforce@gmail.com)
List pgsql-bugs
On Sun, Mar 20, 2016 at 8:55 AM, <vendforce@gmail.com> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      14037
> Logged by:          vendforce
> Email address:      vendforce@gmail.com
> PostgreSQL version: 9.5.1
> Operating system:   linux
> Description:
>
> I want to move the .psql_history file that resides in $home
>
> Id tried that with PYSQL_HISTFILE &  PSQL_HISTFILE and it doesnt work
>
> Is there a way to move the history file to a different folder
>

The docs list "PSQL_HISTORY" as the environment variable to edit (
http://www.postgresql.org/docs/current/static/app-psql.html.

pgsql-bugs by date:

Previous
From: vendforce@gmail.com
Date:
Subject: BUG #14037: Move history file
Next
From: "David G. Johnston"
Date:
Subject: Re: BUG #14037: Move history file