Commit 304750f8 authored by Bruce Momjian's avatar Bruce Momjian

Update TCL comment:

 * We can only fix this with Tcl >= 8.4, when Tcl_SetNotifier()
parent 70b9b9b7
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* pltcl.c - PostgreSQL support for Tcl as * pltcl.c - PostgreSQL support for Tcl as
* procedural language (PL) * procedural language (PL)
* *
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.113 2007/09/21 00:30:49 tgl Exp $ * $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.114 2007/09/28 22:33:20 momjian Exp $
* *
**********************************************************************/ **********************************************************************/
...@@ -176,9 +176,9 @@ static void pltcl_build_tuple_argument(HeapTuple tuple, TupleDesc tupdesc, ...@@ -176,9 +176,9 @@ static void pltcl_build_tuple_argument(HeapTuple tuple, TupleDesc tupdesc,
* from Postgres, so the notifier capabilities are initialized, but never * from Postgres, so the notifier capabilities are initialized, but never
* used. Only InitNotifier and DeleteFileHandler ever seem to get called * used. Only InitNotifier and DeleteFileHandler ever seem to get called
* within Postgres, but we implement all the functions for completeness. * within Postgres, but we implement all the functions for completeness.
* We can only fix this with Tcl >= 8.2, when Tcl_SetNotifier() appeared. * We can only fix this with Tcl >= 8.4, when Tcl_SetNotifier() appeared.
*/ */
#if HAVE_TCL_VERSION(8,2) #if HAVE_TCL_VERSION(8,4)
static ClientData static ClientData
pltcl_InitNotifier(void) pltcl_InitNotifier(void)
...@@ -262,7 +262,7 @@ _PG_init(void) ...@@ -262,7 +262,7 @@ _PG_init(void)
Tcl_FindExecutable(""); Tcl_FindExecutable("");
#endif #endif
#if HAVE_TCL_VERSION(8,2) #if HAVE_TCL_VERSION(8,4)
/* /*
* Override the functions in the Notifier subsystem. See comments above. * Override the functions in the Notifier subsystem. See comments above.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment