[svn:DBD-Pg] r14672 - DBD-Pg/trunk

[email protected]
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Author: turnstep
Date: Thu Feb  3 12:08:12 2011
New Revision: 14672

Modified:
   DBD-Pg/trunk/dbdimp.c
   DBD-Pg/trunk/dbdimp.h

Log:
Switch to dbd_db_login6 so we have access to the attribs


Modified: DBD-Pg/trunk/dbdimp.c
==============================================================================
--- DBD-Pg/trunk/dbdimp.c	(original)
+++ DBD-Pg/trunk/dbdimp.c	Thu Feb  3 12:08:12 2011
@@ -100,9 +100,10 @@
 
 
 /* ================================================================== */
-int dbd_db_login (SV * dbh, imp_dbh_t * imp_dbh, char * dbname, char * uid, char * pwd)
+int dbd_db_login6 (SV * dbh, imp_dbh_t * imp_dbh, char * dbname, char * uid, char * pwd, SV *attr)
 {
 
+	dTHR;
 	dTHX;
 	char *         conn_str;
 	char *         dest;
@@ -281,6 +282,7 @@
 	DBIc_ACTIVE_on(imp_dbh);
 
 	if (TEND) TRC(DBILOGFP, "%sEnd dbd_db_login\n", THEADER);
+
 	return 1;
 
 } /* end of dbd_db_login */

Modified: DBD-Pg/trunk/dbdimp.h
==============================================================================
--- DBD-Pg/trunk/dbdimp.h	(original)
+++ DBD-Pg/trunk/dbdimp.h	Thu Feb  3 12:08:12 2011
@@ -121,8 +121,8 @@
 #define dbd_init  pg_init
 extern void dbd_init (dbistate_t *dbistate);
 
-#define dbd_db_login  pg_db_login
-int dbd_db_login (SV * dbh, imp_dbh_t * imp_dbh, char * dbname, char * uid, char * pwd);
+#define dbd_db_login6 pg_db_login6
+int dbd_db_login6 (SV * dbh, imp_dbh_t * imp_dbh, char * dbname, char * uid, char * pwd, SV *attr);
 
 #define dbd_db_ping  pg_db_ping
 int dbd_db_ping(SV *dbh);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.