-- "ignorespace ignoredups"
\set HISTCONTROL ignoreboth
--- Set path to history file and increase it.
-\set HISTFILE HISTFILE_PATH
+-- Set path to history file (database specific) and increase it.
+\set HISTFILE HISTFILE_PATH- :DBNAME
\set HISTSIZE 100000
-- Add transaction status (%x) to prompt; show database name in bold green.