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.