From 02d2b694ee42a9e241d37ce67df122fff43d5bb9 Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Fri, 5 Jul 2013 15:25:51 -0400 Subject: 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. --- src/backend/rewrite/rewriteDefine.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/backend/rewrite/rewriteDefine.c') diff --git a/src/backend/rewrite/rewriteDefine.c b/src/backend/rewrite/rewriteDefine.c index 92396b39bd3..0e9f515a09c 100644 --- a/src/backend/rewrite/rewriteDefine.c +++ b/src/backend/rewrite/rewriteDefine.c @@ -258,6 +258,8 @@ DefineQueryRewrite(char *rulename, /* * Verify relation is of a type that rules can sensibly be applied to. + * Internal callers can target materialized views, but transformRuleStmt() + * blocks them for users. Don't mention them in the error message. */ if (event_relation->rd_rel->relkind != RELKIND_RELATION && event_relation->rd_rel->relkind != RELKIND_MATVIEW && -- cgit v1.2.3