Postgresql 中文操作指南
Description
ALTER RULE 用于更改现有规则的属性。目前,唯一可用的操作是更改规则的名称。
ALTER RULE changes properties of an existing rule. Currently, the only available action is to change the rule’s name.
要使用 ALTER RULE ,你必须拥有应用该规则的目标表或视图的所有权。
To use ALTER RULE, you must own the table or view that the rule applies to.
Parameters
-
name
-
The name of an existing rule to alter.
-
-
table_name
-
The name (optionally schema-qualified) of the table or view that the rule applies to.
-
-
new_name
-
The new name for the rule.
-
Compatibility
ALTER RULE 作为 PostgreSQL 语言扩展,与整个查询重写系统一样。
ALTER RULE is a PostgreSQL language extension, as is the entire query rewrite system.