allow_system_table_mods and DROP RULE
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-12-18T08:56:42Z
Lists: pgsql-hackers
Attachments
- 0001-Disallow-dropping-rules-on-system-tables-by-default.patch (text/plain) patch 0001
As a curious omission, DROP RULE does not check allow_system_table_mods. Creating and renaming a rule does, and also creating, renaming, and dropping a trigger does. The impact of this is probably nil in practice, but for consistency we should probably add that. The patch is pretty simple. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Disallow dropping rules on system tables by default
- df7fe9e2d707 13.0 landed