diff options
Diffstat (limited to 'src/pl/tcl/pltcl.c')
-rw-r--r-- | src/pl/tcl/pltcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/tcl/pltcl.c b/src/pl/tcl/pltcl.c index 4cd59bc3ea6..c94d0d80753 100644 --- a/src/pl/tcl/pltcl.c +++ b/src/pl/tcl/pltcl.c @@ -504,7 +504,7 @@ pltcl_init_load_unknown(Tcl_Interp *interp) AccessShareLock, true); if (pmrel == NULL) return; - /* must be table or view, else ignore */ + /* sanity-check the relation kind */ if (!(pmrel->rd_rel->relkind == RELKIND_RELATION || pmrel->rd_rel->relkind == RELKIND_MATVIEW || pmrel->rd_rel->relkind == RELKIND_VIEW)) |