]> granicus.if.org Git - postgresql/commit
Replace GrantObjectType with ObjectType
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 11 Oct 2017 22:35:19 +0000 (18:35 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 19 Jan 2018 19:01:14 +0000 (14:01 -0500)
commit2c6f37ed62114bd5a092c20fe721bd11b3bcb91e
tree080292978101fbbd094f886c05b03a94c43c877c
parent42b5856038a5af6bb4ec3c09b62d9d9a3ab43172
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
b256f2426433c56b4bea3a8102757749885b81ba.  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>
14 files changed:
src/backend/catalog/aclchk.c
src/backend/catalog/heap.c
src/backend/catalog/pg_namespace.c
src/backend/catalog/pg_proc.c
src/backend/catalog/pg_type.c
src/backend/commands/event_trigger.c
src/backend/parser/gram.y
src/backend/tcop/utility.c
src/backend/utils/adt/acl.c
src/include/commands/event_trigger.h
src/include/nodes/parsenodes.h
src/include/tcop/deparse_utility.h
src/include/utils/acl.h
src/include/utils/aclchk_internal.h