384
383
Dprintf("curs_is_busy: got NOTIFY from pid %d, msg = %s",
385
384
(int) pgn->be_pid, pgn->relname);
388
388
PyTuple_SET_ITEM(notify, 0, PyInt_FromLong((long)pgn->be_pid));
389
389
PyTuple_SET_ITEM(notify, 1, PyString_FromString(pgn->relname));
390
390
PyList_Append(conn->notifies, notify);
397
403
/* pq_execute - execute a query, possibly asyncronously