aboutsummaryrefslogtreecommitdiff
path: root/src/pl/tcl/pltcl.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2013-07-05 15:25:51 -0400
committerNoah Misch <noah@leadboat.com>2013-07-05 15:37:51 -0400
commit02d2b694ee42a9e241d37ce67df122fff43d5bb9 (patch)
treeeaf287ab19600a27a1c1304d108241326d6e3e3d /src/pl/tcl/pltcl.c
parent269e780822abb2e44189afaccd6b0ee7aefa7ddd (diff)
downloadpostgresql-02d2b694ee42a9e241d37ce67df122fff43d5bb9.tar.gz
postgresql-02d2b694ee42a9e241d37ce67df122fff43d5bb9.zip
Update messages, comments and documentation for materialized views.
All instances of the verbiage lagging the code. Back-patch to 9.3, where materialized views were introduced.
Diffstat (limited to 'src/pl/tcl/pltcl.c')
-rw-r--r--src/pl/tcl/pltcl.c2
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))