summaryrefslogtreecommitdiff
path: root/examples/psql
blob: 3fc71028dbcd6364684311a8ae8c4b359c2a742a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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

PGHOST=db.example.com
PGDATABASE=exampledb
PGSSLMODE=verify-full
PGSSLROOTCERT=/etc/ssl/certs/examplerootcert
PGUSER=exampleuser
PGPASSWORD=foobar # beware: will be readable from /proc/<pid>/environ, better:
PGPASSFILE=/path/to/.pgpass

TABLE=known_hosts