summaryrefslogtreecommitdiff
path: root/examples/psql
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2012-02-25 21:17:00 +0100
committerTimo Weingärtner <timo@tiwe.de>2012-02-25 21:17:00 +0100
commit4b444020fa50e4f22a427b981c582b35cdb4efb1 (patch)
treea7e31424e72b3a98053ca5b11206831cfd3322e2 /examples/psql
parent8f32f842b33bdc6617b41dc9f18b222fd3013e21 (diff)
downloadopenssh-known-hosts-4b444020fa50e4f22a427b981c582b35cdb4efb1.tar.gz
Imported Debian version 0.2debian/0.2
Diffstat (limited to 'examples/psql')
-rw-r--r--examples/psql12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/psql b/examples/psql
new file mode 100644
index 0000000..e2e72cb
--- /dev/null
+++ b/examples/psql
@@ -0,0 +1,12 @@
+PLUGIN=psql
+# from psql(1): psql returns 2 if the connection to the server went bad and
+# the session was not interactive
+EXIT_IGNORE=2
+
+PGCLUSTER=8.3/db.example.com:
+PGDATABASE=exampledb
+PGUSER=exampleuser
+PGPASSWORD=foobar # beware: will be readable from /proc/<pid>/environ, better:
+PGPASSFILE=/path/to/.pgpass
+
+TABLE=known_hosts