Remove utils/acl.h from catalog/objectaddress.h

Peter Eisentraut <peter@eisentraut.org>

Commit: 3c173a53a825075f3efe32b9917eff5063e81f4d
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2020-03-10T09:27:00Z
Releases: 13.0
Remove utils/acl.h from catalog/objectaddress.h

The need for this was removed by
8b9e9644dc6a9bd4b7a97950e6212f63880cf18b.

A number of files now need to include utils/acl.h or
parser/parse_node.h explicitly where they previously got it indirectly
somehow.

Since parser/parse_node.h already includes nodes/parsenodes.h, the
latter is then removed where the former was added.  Also, remove
nodes/pg_list.h from objectaddress.h, since that's included via
nodes/parsenodes.h.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Alvaro Herrera <alvherre@2ndquadrant.com>
Discussion: https://www.postgresql.org/message-id/flat/7601e258-26b2-8481-36d0-dc9dca6f28f1%402ndquadrant.com

Files

PathChange+/−
contrib/adminpack/adminpack.c modified +1 −0
contrib/file_fdw/file_fdw.c modified +1 −0
src/backend/access/brin/brin.c modified +1 −0
src/backend/catalog/dependency.c modified +1 −0
src/backend/catalog/objectaddress.c modified +1 −0
src/backend/commands/collationcmds.c modified +1 −0
src/backend/commands/conversioncmds.c modified +1 −0
src/backend/commands/copy.c modified +1 −0
src/backend/commands/dropcmds.c modified +1 −0
src/backend/commands/operatorcmds.c modified +1 −0
src/backend/commands/publicationcmds.c modified +1 −0
src/backend/commands/subscriptioncmds.c modified +1 −0
src/backend/executor/execExpr.c modified +1 −0
src/backend/executor/execPartition.c modified +1 −0
src/backend/replication/walreceiver.c modified +1 −0
src/backend/replication/walsender.c modified +1 −0
src/backend/statistics/extended_stats.c modified +1 −0
src/backend/storage/ipc/procarray.c modified +1 −0
src/backend/storage/large_object/inv_api.c modified +1 −0
src/backend/utils/adt/genfile.c modified +1 −0
src/backend/utils/adt/selfuncs.c modified +1 −0
src/backend/utils/misc/guc.c modified +1 −0
src/include/catalog/objectaddress.h modified +2 −2
src/include/catalog/pg_namespace.h modified +1 −0
src/include/commands/collationcmds.h modified +1 −1
src/include/commands/createas.h modified +1 −1
src/include/commands/dbcommands.h modified +1 −1
src/include/commands/defrem.h modified +1 −1
src/include/commands/extension.h modified +1 −1
src/include/commands/vacuum.h modified +1 −1
src/pl/tcl/pltcl.c modified +1 −0

Discussion