diff options
author | Ben Burwell <ben@benburwell.com> | 2019-08-13 14:42:28 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-08-13 14:42:55 -0400 |
commit | 779672df6f49b46d62eb35ca2caa4095e30aaa32 (patch) | |
tree | 5cb2f35d516b3733d1725edca8e506802d4e3f3f | |
parent | b248093250e57619f868975391f548c9d80fe498 (diff) |
pg: adopt
-rw-r--r-- | templates/.pgpass | 10 | ||||
-rw-r--r-- | templates/.psqlrc | 3 |
2 files changed, 13 insertions, 0 deletions
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 |