Code

check_pgsql: Use PQconnectdb() rather than PQsetdbLogin().
authorSebastian Harl <sh@teamix.net>
Thu, 7 Apr 2011 08:40:11 +0000 (10:40 +0200)
committerSebastian Harl <sh@teamix.net>
Thu, 7 Apr 2011 09:13:29 +0000 (11:13 +0200)
commit726728bad10be7425643d81bed3c8822326fe811
tree421e009f701070f0ff20579d32992e2c5ed46221
parentf606589141752480dddd329a47dd391f118e2c4d
check_pgsql: Use PQconnectdb() rather than PQsetdbLogin().

This is more flexible and the recommended way to connect to a PostgreSQL
database.

Also, the verbose output now includes detailed information about the
connection.
plugins/check_pgsql.c