1 -- Postgresql client configuration file.
3 -- Copyright (C) 2016 Simon Ruderich
5 -- This file is free software: you can redistribute it and/or modify
6 -- it under the terms of the GNU General Public License as published by
7 -- the Free Software Foundation, either version 3 of the License, or
8 -- (at your option) any later version.
10 -- This file is distributed in the hope that it will be useful,
11 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
12 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 -- GNU General Public License for more details.
15 -- You should have received a copy of the GNU General Public License
16 -- along with this file. If not, see <http://www.gnu.org/licenses/>.
19 -- Shut up \pset during this config script.
22 -- Automatically switch to vertical mode when the columns don't fit on screen.
25 -- Use unicode characters for borders.
26 \pset linestyle unicode
28 -- Per default NULL values are not displayed, use a replacement string to
29 -- prevent mistaken them for an empty string.
32 -- Uppercase keywords when completing. Thanks to [1] (read on 2016-08-06).
33 -- [1]: http://phili.pe/posts/postgresql-on-the-command-line/
34 \set COMP_KEYWORD_CASE upper
36 -- "ignorespace ignoredups"
37 \set HISTCONTROL ignoreboth
38 -- Set path to history file and increase it.
39 \set HISTFILE HISTFILE_PATH
42 -- But display the normal psql welcome message.