.psqlrc

Fri, 27 May 2016 20:09:03 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 27 May 2016 20:09:03 -0400
changeset 326
953e3a78a89a
parent 220
a51ef0e93f75
permissions
-rw-r--r--

config tweaking

220
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 \set QUIET 1
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 -- complete keywords in upper case
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 \set COMP_KEYWORD_CASE upper
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 -- automatically use expanded display
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 \x auto
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 -- display nulls as...
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 \pset null ยค
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 -- Verbose error reports.
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 \set VERBOSITY verbose
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 -- Use a separate history file per-database, no dupes
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 \set HISTFILE ~/.psql_history- :DBNAME
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 \set HISTCONTROL ignoredups
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18
a51ef0e93f75 add psqlrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 \unset QUIET

mercurial