add psqlrc

Thu, 29 Oct 2015 02:45:53 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 29 Oct 2015 02:45:53 -0400
changeset 220
a51ef0e93f75
parent 219
9ab4c7db4b3a
child 221
607a4c596cdb

add psqlrc

.psqlrc file | annotate | diff | comparison | revisions
new file mode 100644
--- /dev/null
+++ b/.psqlrc
@@ -0,0 +1,19 @@
+\set QUIET 1
+
+-- complete keywords in upper case
+\set COMP_KEYWORD_CASE upper
+
+-- automatically use expanded display
+\x auto
+
+-- display nulls as...
+\pset null ยค
+
+-- Verbose error reports.
+\set VERBOSITY verbose
+
+-- Use a separate history file per-database, no dupes
+\set HISTFILE ~/.psql_history- :DBNAME
+\set HISTCONTROL ignoredups
+
+\unset QUIET

mercurial