From 779672df6f49b46d62eb35ca2caa4095e30aaa32 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Tue, 13 Aug 2019 14:42:28 -0400 Subject: pg: adopt --- templates/.pgpass | 10 ++++++++++ templates/.psqlrc | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 templates/.pgpass create mode 100644 templates/.psqlrc diff --git a/templates/.pgpass b/templates/.pgpass new file mode 100644 index 0000000..10fc8bc --- /dev/null +++ b/templates/.pgpass @@ -0,0 +1,10 @@ +# pgpass - see psql(1) +# +# host:port:db:user:pw + +localhost:15432:endpoint_monitoring:postgres:testing +localhost:5432:runeflow:postgres:testing +localhost:25432:endpoint_monitoring:virtyx:{{ pass "virtyx/proddb" }} +localhost:35432:metrics:virtyx:{{ pass "virtyx/metricsdb" }} + +# vim: ft=conf diff --git a/templates/.psqlrc b/templates/.psqlrc new file mode 100644 index 0000000..5a385df --- /dev/null +++ b/templates/.psqlrc @@ -0,0 +1,3 @@ +\timing on +\setenv PAGER 'pspg --no-mouse -bX --no-commandbar --no-topbar' +\set HISTSIZE 100000 -- cgit v1.2.3