mirror of
https://github.com/postgres/postgres.git
synced 2025-10-22 14:32:25 +03:00
Replace GrantObjectType with ObjectType
There used to be a lot of different *Type and *Kind symbol groups to
address objects within different commands, most of which have been
replaced by ObjectType, starting with
b256f24264
. But this conversion was never
done for the ACL commands until now.
This change ends up being just a plain replacement of the types and
symbols, without any code restructuring needed, except deleting some now
redundant code.
Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
Reviewed-by: Stephen Frost <sfrost@snowman.net>
This commit is contained in:
@@ -50,7 +50,6 @@ extern void AlterEventTriggerOwner_oid(Oid, Oid newOwnerId);
|
||||
|
||||
extern bool EventTriggerSupportsObjectType(ObjectType obtype);
|
||||
extern bool EventTriggerSupportsObjectClass(ObjectClass objclass);
|
||||
extern bool EventTriggerSupportsGrantObjectType(GrantObjectType objtype);
|
||||
extern void EventTriggerDDLCommandStart(Node *parsetree);
|
||||
extern void EventTriggerDDLCommandEnd(Node *parsetree);
|
||||
extern void EventTriggerSQLDrop(Node *parsetree);
|
||||
|
Reference in New Issue
Block a user