Explicitly place psql's history on encrypted dataset
authorSergey Matveev <stargrave@stargrave.org>
Tue, 7 Jan 2020 14:41:58 +0000 (17:41 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 7 Jan 2020 14:41:58 +0000 (17:41 +0300)
psql/.psqlrc

index fc980079826fce1ac1b58b3a8a15c3e1e15bb4f5..41baa7aa44030e4cafd9254630d32eb319a8d393 100644 (file)
@@ -6,3 +6,4 @@ CREATE OR REPLACE FUNCTION ppj(jsonb[]) RETURNS SETOF TEXT AS $$
 $$ LANGUAGE SQL;
 
 \timing on
+\set HISTFILE ~/secure/.psql_history