Add missing invocations to object access hooks

Michael Paquier <michael@paquier.xyz>

Commit: a995b371ae29de2d38c4b7881cf414b1560e9746
Author: Michael Paquier <michael@paquier.xyz>
Date: 2020-05-23T05:03:04Z
Releases: 13.0
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@enterprisedb.com

Files

Discussion