aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/heap/tuptoaster.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/backend/access/heap/tuptoaster.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/backend/access/heap/tuptoaster.c')
-rw-r--r--src/backend/access/heap/tuptoaster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/tuptoaster.c b/src/backend/access/heap/tuptoaster.c
index c76dc24260d..67284694992 100644
--- a/src/backend/access/heap/tuptoaster.c
+++ b/src/backend/access/heap/tuptoaster.c
@@ -512,8 +512,8 @@ toast_insert_or_update(Relation rel, HeapTuple newtup, HeapTuple oldtup,
bool toast_delold[MaxHeapAttributeNumber];
/*
- * We should only ever be called for tuples of plain relations ---
- * recursing on a toast rel is bad news.
+ * We should only ever be called for tuples of plain relations or
+ * materialized views --- recursing on a toast rel is bad news.
*/
Assert(rel->rd_rel->relkind == RELKIND_RELATION ||
rel->rd_rel->relkind == RELKIND_MATVIEW);