diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-08-18 01:39:43 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-08-18 01:39:43 +0000 |
commit | 3dd8369f77aff053fb7ec4b24d458ecf1d63e91f (patch) | |
tree | 7fb7f71459ccadf5589102a52b699bc993384a14 /src/interfaces/libpgtcl/pgtclId.h | |
parent | 5bf6af6cf4595a384c3fd0cc0040503ae914659a (diff) |
Back out tcl patch, per Tom Lane:
Everytime if I do PQconsumeInput (when the backend channel gets
readable) I check for the return value. (0 == error) and generate a
notification manually, e.g. fixed string connection_closed) and pass it to the
Diffstat (limited to 'src/interfaces/libpgtcl/pgtclId.h')
-rw-r--r-- | src/interfaces/libpgtcl/pgtclId.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpgtcl/pgtclId.h b/src/interfaces/libpgtcl/pgtclId.h index 6a918e41f8c..ac99b9c6e00 100644 --- a/src/interfaces/libpgtcl/pgtclId.h +++ b/src/interfaces/libpgtcl/pgtclId.h @@ -10,7 +10,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pgtclId.h,v 1.19 2002/08/17 12:19:31 momjian Exp $ + * $Id: pgtclId.h,v 1.20 2002/08/18 01:39:43 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -44,7 +44,7 @@ extern PGresult *PgGetResultId(Tcl_Interp *interp, char *id); extern void PgDelResultId(Tcl_Interp *interp, char *id); extern int PgGetConnByResultId(Tcl_Interp *interp, char *resid); extern void PgStartNotifyEventSource(Pg_ConnectionId * connid); -extern void PgStopNotifyEventSource(Pg_ConnectionId * connid, int remove_pend); +extern void PgStopNotifyEventSource(Pg_ConnectionId * connid); extern void PgNotifyTransferEvents(Pg_ConnectionId * connid); extern void PgNotifyInterpDelete(ClientData clientData, Tcl_Interp *interp); |