1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-15 19:21:59 +03:00

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.
This commit is contained in:
Noah Misch
2013-07-05 15:25:51 -04:00
parent 269e780822
commit 02d2b694ee
15 changed files with 29 additions and 22 deletions

View File

@ -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 &&