Update of /cvsroot/pypgsql/pypgsql
In directory usw-pr-cvs1:/tmp/cvs-serv10505
Modified Files:
pgresult.c pgresult.h
Log Message:
23SEP2001 bga Fix a bad bug created by the incomplete removal of the
resultErrorMessage attribute.
Index: pgresult.c
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/pgresult.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** pgresult.c 2001/09/23 04:02:17 1.10
--- pgresult.c 2001/09/23 07:26:19 1.11
***************
*** 33,36 ****
--- 33,38 ----
| None. Why? Because any query that generates an error |
| will raise an exception, not return a PgResult. |
+ | --- Fix a bad bug created by the incomplete removal of the |
+ | resultErrorMessage attribute. |
| 14SEP2001 bga Removed code related to PostgreSQL 6.5.x. We now only |
| support PostgreSQL 7.0 and later. |
***************
*** 161,165 ****
Py_XDECREF(self->type);
Py_XDECREF(self->status);
- Py_XDECREF(self->errmsg);
Py_XDECREF(self->ntuples);
Py_XDECREF(self->nfields);
--- 163,166 ----
Index: pgresult.h
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/pgresult.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pgresult.h 2001/08/24 22:26:00 1.1
--- pgresult.h 2001/09/23 07:26:19 1.2
***************
*** 51,55 ****
PyObject *type; /* The type of the result. */
PyObject *status; /* The result status. */
- PyObject *errmsg; /* The error message for the result. */
PyObject *ntuples; /* The number of tuples returns. */
PyObject *nfields; /* The number of fields in a tuple. */
--- 51,54 ----
***************
*** 57,63 ****
PyObject *cstatus; /* The command status. */
PyObject *ctuples; /* The number of command tuples. */
- #if !defined(PGSQL_6X)
PyObject *oidval; /* The OID of the last inserted row. */
- #endif
} PgResult;
--- 56,60 ----
|