—
NAME
DROP_RULE - remove a rewrite rule
SYNOPSIS
bash
DROP RULE [ IF EXISTS ] \nname\n ON \ntable_name\n [ CASCADE | RESTRICT ]DESCRIPTION
DROP RULE drops a rewrite rule.
PARAMETERS
IF EXISTS
name
table_name
CASCADE
RESTRICT
EXAMPLES
To drop the rewrite rule newrule:
bash
DROP RULE newrule ON mytable;COMPATIBILITY
DROP RULE is a PostgreSQL language extension, as is the entire query rewrite system.
SEE ALSO
CREATE RULE (CREATE_RULE(7)), ALTER RULE (ALTER_RULE(7))