From: Simon Ruderich Date: Wed, 5 Jul 2017 07:49:48 +0000 (+0200) Subject: psql: mark NULL values X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=8fac741a66fb10d3389f116daa52722ea0745b82;p=config%2Fdotfiles.git psql: mark NULL values --- diff --git a/psql/psqlrc.in b/psql/psqlrc.in index 8733b4f..8901fbf 100644 --- a/psql/psqlrc.in +++ b/psql/psqlrc.in @@ -25,6 +25,10 @@ -- Use unicode characters for borders. \pset linestyle unicode +-- Per default NULL values are not displayed, use a replacement string to +-- prevent mistaken them for an empty string. +\pset null ï½¢NULLï½£ + -- Uppercase keywords when completing. Thanks to [1] (read on 2016-08-06). -- [1]: http://phili.pe/posts/postgresql-on-the-command-line/ \set COMP_KEYWORD_CASE upper