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

git at icinga.org git at icinga.org
Wed Jul 28 21:08:14 CEST 2010


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

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=dfb5fb539d327585c3a9bae3ddc49b71862c9713




More information about the icinga-checkins mailing list