[SR-Dev] git:janakj/postgres: further changes after the db name change

Jan Janak jan at iptel.org
Wed Feb 18 01:26:19 CET 2009


Module: sip-router
Branch: janakj/postgres
Commit: f170c790e6f03411d813d0ecad4b47384c194a38
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f170c790e6f03411d813d0ecad4b47384c194a38

Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date:   Wed Feb  6 15:46:09 2008 +0000

further changes after the db name change
- update INSTALL file
- fix Makefile skip modules variable
- fix module Makefile, lib name
- change db_bind_mod to add the db prefix in the function
- change db url defines in db_berkeley and db_text
- change database modules names in module struct
- fix debian packaging
- fix tests


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3642 689a6050-402a-0410-94f2-e92a70836424

---

 modules/db_postgres/km_Makefile |    2 +-
 modules/db_postgres/km_db_mod.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/db_postgres/km_Makefile b/modules/db_postgres/km_Makefile
index 58c65ee..699f9be 100644
--- a/modules/db_postgres/km_Makefile
+++ b/modules/db_postgres/km_Makefile
@@ -4,7 +4,7 @@
 
 include ../../Makefile.defs
 auto_gen=
-NAME=postgres.so
+NAME=db_postgres.so
 
 
 # set CROSS_COMPILE to true if you want to skip
diff --git a/modules/db_postgres/km_db_mod.c b/modules/db_postgres/km_db_mod.c
index fc2c6a6..8cb196b 100644
--- a/modules/db_postgres/km_db_mod.c
+++ b/modules/db_postgres/km_db_mod.c
@@ -58,7 +58,7 @@ static cmd_export_t cmds[]={
 
 
 struct module_exports exports = {	
-	"postgres",
+	"db_postgres",
 	DEFAULT_DLFLAGS, /* dlopen flags */
 	cmds,
 	0,   /*  module parameters */




More information about the sr-dev mailing list