Update of /cvsroot/pypgsql/pypgsql
In directory sc8-pr-cvs1:/tmp/cvs-serv15391
Modified Files:
pgnotify.c
Log Message:
28MAY2002 bga Fixed a bug in the code. The code in question use to work, but
doesn't anymore (possible change to libpq?).
Index: pgnotify.c
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/pgnotify.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** pgnotify.c 6 Sep 2001 04:42:21 -0000 1.6
--- pgnotify.c 29 May 2003 01:39:21 -0000 1.7
***************
*** 30,33 ****
--- 30,35 ----
| Date Ini Description |
| --------- --- ------------------------------------------------------- |
+ | 28MAY2002 bga Fixed a bug in the code. The code in question use to |
+ | work, but doesn't anymore (possible change to libpq?). |
| 06SEP2001 bga Clarified an embedded assignment within an if test. |
| 30AUG2001 bga Use PyObject_Del() instead of PyMem_Free() in dealloc() |
***************
*** 64,68 ****
(PgNotify *)NULL)
{
! self->relname = Py_BuildValue("s", &(note->relname));
self->be_pid = Py_BuildValue("i", note->be_pid);
free(note);
--- 66,70 ----
(PgNotify *)NULL)
{
! self->relname = Py_BuildValue("s", note->relname);
self->be_pid = Py_BuildValue("i", note->be_pid);
free(note);
|