From: Billy G. A. <bal...@us...> - 2001-09-06 04:59:29
|
Update of /cvsroot/pypgsql/pypgsql In directory usw-pr-cvs1:/tmp/cvs-serv5717 Modified Files: libpqmodule.c Log Message: 06SEP2001 bga Arranged it so that PQconnectStart() is no longer available. It became broken when the creation of the PgVersion object was moved from PgSQL.Connection to libpq.PgConnection, and it's more trouble than it's worth to fix. Also PQconnectStart() is not used by the DB-API 2.0 compatible module (PgSQL.py). Index: libpqmodule.c =================================================================== RCS file: /cvsroot/pypgsql/pypgsql/libpqmodule.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** libpqmodule.c 2001/09/03 05:31:37 1.12 --- libpqmodule.c 2001/09/06 04:59:26 1.13 *************** *** 241,245 **** /*--------------------------------------------------------------------------*/ ! #if !defined(PGSQL_6X) static char libPQconnectStart_Doc[] = "PQconnectStart(conninfo) -> PgConnection\n" --- 241,245 ---- /*--------------------------------------------------------------------------*/ ! #if defined(DO_NOT_DEFINE_THIS_MACRO) static char libPQconnectStart_Doc[] = "PQconnectStart(conninfo) -> PgConnection\n" *************** *** 565,569 **** { "PQconndefaults", (PyCFunction)libPQconndefaults, 1, libPQconndefaults_Doc }, ! #if !defined(PGSQL_6X) { "PQconnectStart", (PyCFunction)libPQconnectStart, 1, libPQconnectStart_Doc }, --- 565,569 ---- { "PQconndefaults", (PyCFunction)libPQconndefaults, 1, libPQconndefaults_Doc }, ! #if defined(DO_NOT_DEFINE_THIS_MACRO) { "PQconnectStart", (PyCFunction)libPQconnectStart, 1, libPQconnectStart_Doc }, |