Thread: debian 9.3 install history file permission denied

debian 9.3 install history file permission denied

From
"john.tiger"
Date:
To get 9.3 installed, postgresql was completely removed (incl folders)
and reinstalled.  Had to manually check postgresql on the services menu
to launch the server.  All seems to work but getting error on \q  with
history file permission denied.

What is best way to fix this ?