From 4b444020fa50e4f22a427b981c582b35cdb4efb1 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Sat, 25 Feb 2012 21:17:00 +0100 Subject: Imported Debian version 0.2 --- examples/psql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/psql (limited to 'examples/psql') 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//environ, better: +PGPASSFILE=/path/to/.pgpass + +TABLE=known_hosts -- cgit v1.2.3