Re: allow_system_table_mods and DROP RULE

2019-12-19 Thread Peter Eisentraut
On 2019-12-18 16:53, Robert Haas wrote: On Wed, Dec 18, 2019 at 3:56 AM Peter Eisentraut wrote: 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 probabl

Re: allow_system_table_mods and DROP RULE

2019-12-18 Thread Robert Haas
On Wed, Dec 18, 2019 at 3:56 AM Peter Eisentraut wrote: > 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 consisten

allow_system_table_mods and DROP RULE

2019-12-18 Thread Peter Eisentraut
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.