The following bug has been logged on the website:
Bug reference: 14037
Logged by: vendforce
Email address: vendforce(at)gmail(dot)com
PostgreSQL version: 9.5.1
Operating system: linux
Description:
I want to move the .psql_history file that resides in $home
In mysql you can do
export MSQL_HISTDFILE=/newfolder/mysq_history,
and the history file is created and remains in the exported string
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