Code

check_pgsql: Added support for the -o command line option.
authorSebastian Harl <sh@teamix.net>
Thu, 7 Apr 2011 09:50:10 +0000 (11:50 +0200)
committerSebastian Harl <sh@teamix.net>
Thu, 7 Apr 2011 09:56:35 +0000 (11:56 +0200)
commita02b463ff6c923d2432fe8ab6536262a250b330d
tree0bf9b033b489d3d33a47251602f625df349e147f
parent5d7f78dd28b747a9117853a1465aebd767396329
check_pgsql: Added support for the -o command line option.

This option may be used to specify further connection parameters to be passed
to PQconnectdb(). For example, this may be used to specify a service name in
pg_service.conf to be used for additional connection parameters: -o
'service=<name>' or to specify the SSL mode: -o 'sslmode=require'.

See the chapter "libpq - C Library" in the PostgreSQL manual for details.
plugins/check_pgsql.c