]> Sergey Matveev's repositories - dotfiles.git/commitdiff
More pretty psql
authorSergey Matveev <stargrave@stargrave.org>
Sun, 28 Mar 2021 13:46:33 +0000 (16:46 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 28 Mar 2021 13:46:33 +0000 (16:46 +0300)
psql/.psqlrc

index 41baa7aa44030e4cafd9254630d32eb319a8d393..b620f6b2d3e33063b263beb3376282f81589a906 100644 (file)
@@ -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