Update of /cvsroot/pypgsql/pypgsql
In directory usw-pr-cvs1:/tmp/cvs-serv12158
Modified Files:
pgconnection.c
Log Message:
19SEP2001 bga Re-ordered the items in PgConnection_members so that the
attributes handled directly by PgConnection_getattr are grouped
together and commented appropiately.
Index: pgconnection.c
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/pgconnection.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pgconnection.c 2001/09/16 17:54:52 1.4
--- pgconnection.c 2001/09/19 03:47:56 1.5
***************
*** 29,32 ****
--- 29,35 ----
| Date Ini Description |
| --------- --- ------------------------------------------------------- |
+ | 19SEP2001 bga Re-ordered the items in PgConnection_members so that |
+ | the attributes handled directly by PgConnection_getattr |
+ | are grouped together and commented appropiately. |
| 14SEP2001 bga Removed code related to PostgreSQL 6.5.x. We now only |
| support PostgreSQL 7.0 and later. |
***************
*** 1000,1011 ****
{ "user", T_OBJECT, CoOFF(user), RO },
{ "password", T_OBJECT, CoOFF(pass), RO },
- { "status", T_INT, 0, RO },
- { "errorMessage", T_STRING, 0, RO },
{ "backendPID", T_OBJECT, CoOFF(bePID), RO },
- { "isBusy", T_INT, 0, RO },
{ "socket", T_OBJECT, CoOFF(socket), RO },
- { "isnonblocking", T_INT, 0, RO },
{ "notices", T_OBJECT, CoOFF(notices), RO },
{ "version", T_OBJECT, CoOFF(version), RO },
{ NULL }
};
--- 1003,1015 ----
{ "user", T_OBJECT, CoOFF(user), RO },
{ "password", T_OBJECT, CoOFF(pass), RO },
{ "backendPID", T_OBJECT, CoOFF(bePID), RO },
{ "socket", T_OBJECT, CoOFF(socket), RO },
{ "notices", T_OBJECT, CoOFF(notices), RO },
{ "version", T_OBJECT, CoOFF(version), RO },
+ // The remaining attributes are handles directly in PgConnection_getattr()
+ { "status", T_INT, 0, RO },
+ { "errorMessage", T_STRING, 0, RO },
+ { "isBusy", T_INT, 0, RO },
+ { "isnonblocking", T_INT, 0, RO },
{ NULL }
};
|