summaryrefslogtreecommitdiff
path: root/src/interfaces/libpgtcl/pgtclCmds.h
diff options
context:
space:
mode:
authorMarc G. Fournier1997-01-03 18:48:31 +0000
committerMarc G. Fournier1997-01-03 18:48:31 +0000
commitb5164666a391d9684db0f7ec8764946a4d67e02f (patch)
tree71055ed0e188743907a4f605102c3979c1cab3b4 /src/interfaces/libpgtcl/pgtclCmds.h
parent9d81f5297bd766f5e23236b0f8a9af47a6f4ee8a (diff)
someone added pg_listen and pg_notifies to libpgtcl. But first
these routines try to use the old pointer casting stuff to get the connection id, second the notification hash table should be part of the cliendData. Otherwise, one interpreter might eat up the notifies for another one. Please apply the patch below to the current 6.0 tree. Submitted by: [email protected]
Diffstat (limited to 'src/interfaces/libpgtcl/pgtclCmds.h')
-rw-r--r--src/interfaces/libpgtcl/pgtclCmds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/libpgtcl/pgtclCmds.h b/src/interfaces/libpgtcl/pgtclCmds.h
index 78c4e1d770f..de69ad2e14c 100644
--- a/src/interfaces/libpgtcl/pgtclCmds.h
+++ b/src/interfaces/libpgtcl/pgtclCmds.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pgtclCmds.h,v 1.5 1996/12/19 05:02:51 scrappy Exp $
+ * $Id: pgtclCmds.h,v 1.6 1997/01/03 18:48:31 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,6 +21,7 @@
typedef struct Pg_clientData_s {
Tcl_HashTable dbh_hash;
Tcl_HashTable res_hash;
+ Tcl_HashTable notify_hash;
long dbh_count;
long res_count;
} Pg_clientData;