From 4ead9be4468d8d58c027bf6e6616e3b4d6e727eb Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 22 Aug 2019 18:30:24 +0200 Subject: Complete re-structuring so it's easier to install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .psqlrc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .psqlrc (limited to '.psqlrc') diff --git a/.psqlrc b/.psqlrc new file mode 100644 index 0000000..ff0e7ba --- /dev/null +++ b/.psqlrc @@ -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 -- cgit v1.2.3