summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@users.sourceforge.net>2008-02-13 20:36:00 (GMT)
committerMatthias Eble <psychotrahe@users.sourceforge.net>2008-02-13 20:36:00 (GMT)
commitb572da0b376f3e3e7e07ec8f7ee921beeed26835 (patch)
tree018c1b094aecc2bf2dbef69c2b8b9b902735a3a6
parent2f9ee337cf7e04d41f5fbb7d57973b2a77c2d07b (diff)
downloadmonitoring-plugins-b572da0b376f3e3e7e07ec8f7ee921beeed26835.tar.gz
check_pgsql now builds with postgres lib v8.3 (Jan Wagner #1878972)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1934 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--NEWS1
-rw-r--r--plugins/check_pgsql.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 5447142..9029a8f 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ This file documents the major additions and syntax changes between releases.
11 Fix bugs and flaws in best offset server selection of check_ntp_time and (deprecated) check_ntp 11 Fix bugs and flaws in best offset server selection of check_ntp_time and (deprecated) check_ntp
12 check_ntp_peer now checks for the LI_ALARM flag 12 check_ntp_peer now checks for the LI_ALARM flag
13 Sync to latest Gnulib (includes new floorf function) 13 Sync to latest Gnulib (includes new floorf function)
14 check_pgsql now successfully builds with postgres lib v8.3 (Bug #1878972)
14 15
151.4.11 13th December 2007 161.4.11 13th December 2007
16 Fixed check_http regression in 1.4.10 where following redirects to 17 Fixed check_http regression in 1.4.10 where following redirects to
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index e5442d2..0563322 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -41,6 +41,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
41 41
42#include "netutils.h" 42#include "netutils.h"
43#include <libpq-fe.h> 43#include <libpq-fe.h>
44#include <pg_config_manual.h>
44 45
45#define DEFAULT_DB "template1" 46#define DEFAULT_DB "template1"
46#define DEFAULT_HOST "127.0.0.1" 47#define DEFAULT_HOST "127.0.0.1"