Module: sip-router
Branch: janakj/postgres
Commit: 7c1f066c892d6d3685def250d9c2c7ef76b1d80b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7c1f066…
Author: Jan Janak <jan(a)iptel.org>
Committer: Jan Janak <jan(a)iptel.org>
Date: Mon May 5 15:07:05 2008 +0000
- New postgres driver for the new db api in ser
- Support for prepared statements
- Support for oid retrievals from system catalogs
- More flexible data type conversion
- Support for inet data fields
---
modules/db_postgres/Makefile | 1 +
modules/db_postgres/pg_cmd.c | 509 ++++++++++++++++++++++++++
modules/db_postgres/pg_cmd.h | 154 ++++++++
modules/db_postgres/pg_con.c | 351 ++++++++++++------
modules/db_postgres/pg_con.h | 112 ++++--
modules/db_postgres/pg_fld.c | 834 ++++++++++++++++++++++++++++++++++++++++++
modules/db_postgres/pg_fld.h | 146 ++++++++
modules/db_postgres/pg_mod.c | 535 +++++++++++++++++++++++++++
modules/db_postgres/pg_mod.h | 47 +++
modules/db_postgres/pg_oid.c | 184 ++++++++++
modules/db_postgres/pg_oid.h | 128 +++++++
modules/db_postgres/pg_res.c | 76 ++++
modules/db_postgres/pg_res.h | 58 +++
modules/db_postgres/pg_sql.c | 424 +++++++++++++++++++++
modules/db_postgres/pg_sql.h | 118 ++++++
modules/db_postgres/pg_uri.c | 292 +++++++++++++++
modules/db_postgres/pg_uri.h | 71 ++++
17 files changed, 3883 insertions(+), 157 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=7c1…