DROP RULE — remove a rewrite rule
DROP RULE [ IF EXISTS ]nameONrelation[ CASCADE | RESTRICT ]
IF EXISTSDo not throw an error if the rule does not exist. A notice is issued in this case.
nameThe name of the rule to drop.
relationThe name (optionally schema-qualified) of the table or view that the rule applies to.
CASCADEAutomatically drop objects that depend on the rule.
RESTRICTRefuse to drop the rule if any objects depend on it. This is the default.