pgsql: Add missing invocations to object access hooks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Add missing invocations to object access hooks

Michael Paquier-2
Add missing invocations to object access hooks

The following commands have been missing calls to object access hooks
InvokeObjectPost{Create|Alter}Hook normally applied to all commands:
- ALTER RULE RENAME TO
- ALTER USER MAPPING
- CREATE ACCESS METHOD
- CREATE STATISTICS

Thanks also to Robert Haas for the discussion.

Author: Mark Dilger
Reviewed-by: Álvaro Herrera, Michael Paquier
Discussion: https://postgr.es/m/435CD295-F409-44E0-91EC-DF32C7AFCD76@...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a995b371ae29de2d38c4b7881cf414b1560e9746

Modified Files
--------------
src/backend/commands/amcmds.c       | 3 +++
src/backend/commands/foreigncmds.c  | 3 +++
src/backend/commands/statscmds.c    | 2 ++
src/backend/rewrite/rewriteDefine.c | 2 ++
4 files changed, 10 insertions(+)