HISTFILE
- This variable contains the filename used to save the history.
- Its default value is ~/.psql_history.
- For example, use:
+ The filename that will be used to store the history list. The default
+ value is ~/.psql_history. For example, using:
\set HISTFILE ~/.psql_history-:DBNAME
- in your ~/.psqlrc will get psql to
+ in
~/.psqlrc will get psql to
maintain a separate history for each database.