1 CREATE OR REPLACE FUNCTION ppj(jsonb) RETURNS TEXT AS $$
2 SELECT jsonb_pretty($1);
4 CREATE OR REPLACE FUNCTION ppj(jsonb[]) RETURNS SETOF TEXT AS $$
5 SELECT jsonb_pretty(unnest) FROM (SELECT unnest($1)) AS dummy;
8 \pset linestyle unicode
11 \set HISTFILE ~/secure/.psql_history