59
A password is visible in my psql prompt (by pushing up arrow to view previous inputted commands). So I would like to delete that entry from the psql client.
Other resources(1, 2) claim that psql client history is kept in is a ~/.psql_history file, however this file is simply not there. (it's not in .bash_history either)
So there must be another file where the history of psql prompt is kept, any ideas where?
I log in to my prompt like this
sudo -u postgres psql my_db
Note: I am working on Ubuntu 12.04