Skip to content

Commit 304750f

Browse files
committed
Update TCL comment:
* We can only fix this with Tcl >= 8.4, when Tcl_SetNotifier()
1 parent 70b9b9b commit 304750f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pl/tcl/pltcl.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* pltcl.c - PostgreSQL support for Tcl as
33
* procedural language (PL)
44
*
5-
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.113 2007/09/21 00:30:49 tgl Exp $
5+
* $PostgreSQL: pgsql/src/pl/tcl/pltcl.c,v 1.114 2007/09/28 22:33:20 momjian Exp $
66
*
77
**********************************************************************/
88

@@ -176,9 +176,9 @@ static void pltcl_build_tuple_argument(HeapTuple tuple, TupleDesc tupdesc,
176176
* from Postgres, so the notifier capabilities are initialized, but never
177177
* used. Only InitNotifier and DeleteFileHandler ever seem to get called
178178
* within Postgres, but we implement all the functions for completeness.
179-
* We can only fix this with Tcl >= 8.2, when Tcl_SetNotifier() appeared.
179+
* We can only fix this with Tcl >= 8.4, when Tcl_SetNotifier() appeared.
180180
*/
181-
#if HAVE_TCL_VERSION(8,2)
181+
#if HAVE_TCL_VERSION(8,4)
182182

183183
static ClientData
184184
pltcl_InitNotifier(void)
@@ -262,7 +262,7 @@ _PG_init(void)
262262
Tcl_FindExecutable("");
263263
#endif
264264

265-
#if HAVE_TCL_VERSION(8,2)
265+
#if HAVE_TCL_VERSION(8,4)
266266
/*
267267
* Override the functions in the Notifier subsystem. See comments above.
268268
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy