Browse Source

Database-specific history files and keep lots of history

master
Duke Leto 14 years ago
parent
commit
e8a61711da
  1. 5
      config/.psqlrc

5
config/.psqlrc

@ -19,6 +19,11 @@
-- If a statement in a transaction block generates an error, the error is ignored and the transaction continues.
\set ON_ERROR_ROLLBACK on
-- history files for each database
\set HISTFILE ~/.psql_history- :HOST - :DBNAME
-- Save 5000 lines of history
\set HISTSIZE 5000
-- Aliases to print table sizes:
-- Example: :tsize limit 5;

Loading…
Cancel
Save