Changes the definition of a rule.
ALTER RULE name ON table\_name RENAME TO new\_name
ALTER RULE changes properties of an existing rule. Currently, the only available action is to change the rule's name.
ALTER RULE, you must own the table or view that the rule applies to.
ALTER RULE is a Greenplum Database language extension, as is the entire query rewrite system.
Parent topic: SQL Commands