DROP RULE
Description
drops a rewrite rule from a table or view.
IF EXISTS
Do not throw an error if the rule does not exist. A notice is issued in this case.
name
relation
The name (optionally schema-qualified) of the table or view that the rule applies to.
CASCADE
Automatically drop objects that depend on the rule.
Refuse to drop the rule if any objects depend on it. This is the default.
Examples
Remove the rewrite rule on the table :
There is no statement in the SQL standard.