diff options
Diffstat (limited to 'examples/psql')
-rw-r--r-- | examples/psql | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/psql b/examples/psql index e2e72cb..3fc7102 100644 --- a/examples/psql +++ b/examples/psql @@ -3,8 +3,10 @@ PLUGIN=psql # the session was not interactive EXIT_IGNORE=2 -PGCLUSTER=8.3/db.example.com: +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 |