mirror of
https://github.com/postgres/postgres.git
synced 2025-11-03 09:13:20 +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:
@@ -97,7 +97,7 @@ typedef struct CollectedCommand
|
||||
/* ALTER DEFAULT PRIVILEGES */
|
||||
struct
|
||||
{
|
||||
GrantObjectType objtype;
|
||||
ObjectType objtype;
|
||||
} defprivs;
|
||||
} d;
|
||||
} CollectedCommand;
|
||||
|
||||
Reference in New Issue
Block a user