From e0784171e1033a481f7263624b008b9ce62e69be Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 28 Mar 2021 16:46:33 +0300 Subject: [PATCH] More pretty psql --- psql/.psqlrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/psql/.psqlrc b/psql/.psqlrc index 41baa7a..b620f6b 100644 --- a/psql/.psqlrc +++ b/psql/.psqlrc @@ -5,5 +5,7 @@ CREATE OR REPLACE FUNCTION ppj(jsonb[]) RETURNS SETOF TEXT AS $$ SELECT jsonb_pretty(unnest) FROM (SELECT unnest($1)) AS dummy; $$ LANGUAGE SQL; +\pset linestyle unicode +\pset footer off \timing on \set HISTFILE ~/secure/.psql_history -- 2.44.0