diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2019-08-22 18:30:24 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2019-08-22 18:30:24 +0200 |
| commit | 4ead9be4468d8d58c027bf6e6616e3b4d6e727eb (patch) | |
| tree | 18ab19fd5213c9d302b165eafa46a6f1f8902e75 /.psqlrc | |
| parent | 04f4a7df197ce327f36b666869a1ca2f09934e58 (diff) | |
| download | dotfiles-4ead9be4468d8d58c027bf6e6616e3b4d6e727eb.tar.gz dotfiles-4ead9be4468d8d58c027bf6e6616e3b4d6e727eb.zip | |
Complete re-structuring so it's easier to install
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.psqlrc')
| -rw-r--r-- | .psqlrc | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,20 @@ + +\set QUIET ON + +-- Show null values to NULL so we can distinguish them from empty strings. +\pset null NULL + +-- Set expanded display on (why isn't this the default behaviour ?) +\x auto + +-- Show how long a query took to be executed. +\timing + +-- Because everybody loves unicode. +\encoding unicode + +-- Set a beautiful prompt :P +\set PROMPT1 '%n@%/ > ' +\set PROMPT2 '' + +\set QUIET OFF |
