Historical version. PostgreSQL 9.5 has reached end of support. 2021-02-11. See the current manual.
DROP RULE
Parameters
- IF EXISTS
Do not throw an error if the rule does not exist. A notice is issued in this case.
- name
The name of the rule to drop.
- table_name
The name (optionally schema-qualified) of the table or view that the rule applies to.
- CASCADE
Automatically drop objects that depend on the rule.
- RESTRICT
Refuse to drop the rule if any objects depend on it. This is the default.
Report a documentation issue
Read the upstream documentation. For corrections, first check the current manual.