| author | Sebastian Harl <sh@teamix.net> | |
| Thu, 7 Apr 2011 08:40:11 +0000 (10:40 +0200) | ||
| committer | Sebastian Harl <sh@teamix.net> | |
| Thu, 7 Apr 2011 09:13:29 +0000 (11:13 +0200) | ||
| commit | 726728bad10be7425643d81bed3c8822326fe811 | |
| tree | 421e009f701070f0ff20579d32992e2c5ed46221 | tree | snapshot |
| parent | f606589141752480dddd329a47dd391f118e2c4d | commit | diff |
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.
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 | diff | blob | history |