Removes a rule from a database.
DROP RULE name [, ...]
The name of an existing rule to drop. You may drop multiple rules by specifying their names in a comma-delimited list.
The message returned when a rule is dropped successfully.
ERROR: Rule or view "
" not found
The error returned if the specified rule
namedoes not exist.
DROP RULE command to remove a rule from a PostgreSQL database.
When a rule is dropped, the change is effective immediately. A rule becomes unavailable as
soon as it is dropped, and its definition is completely removed from the database
The following example drops the
booktown=# DROP RULE sync_stock_with_editions; DROP