[icinga-checkins] icinga.org: icinga-core/mfriedrich/pgsql: first steps on postgresql with libpq

git at icinga.org git at icinga.org
Mon Jul 19 21:22:13 CEST 2010


Module: icinga-core
Branch: mfriedrich/pgsql
Commit: f839aeea155a687d4c5be193e03bfde744a7e83e
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=f839aeea155a687d4c5be193e03bfde744a7e83e

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon Jul 19 21:21:27 2010 +0200

first steps on postgresql with libpq

--enable-pgsql [--with-pgsql-inc|dir=]

configure checks for -lpq and libpq-fe.h and sets
the #defines HAVE_LIBPQ_FE_H and USE_PGSQL

code re-organized with #define USE_PGSQL, libdbi and
oracle work independant of my changes.

added initial pgsql database connection, which is tested
and working.

next to that, syslog output for ido2db added, if a client
is connecting.

refs #622

---

 configure                        |  129 +++++-
 configure.in                     |  112 ++++--
 include/config.h.in              |   11 +-
 module/idoutils/include/ido2db.h |   26 +-
 module/idoutils/src/db.c         |  292 ++++++++++---
 module/idoutils/src/dbhandlers.c |  910 ++++++++++++++++++++++++++++++--------
 module/idoutils/src/dbqueries.c  |  600 +++++++++++++++++++-------
 module/idoutils/src/ido2db.c     |   31 +-
 8 files changed, 1650 insertions(+), 461 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-core.git;a=commitdiff;h=f839aeea155a687d4c5be193e03bfde744a7e83e




More information about the icinga-checkins mailing list