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:
@ -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 &&
|
||||
|
Reference in New Issue
Block a user