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

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove utils/acl.h from catalog/objectaddress.h
Date: 2020-03-10 09:35:19
Message-ID: E1jBbIF-0006J1-6g@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-by: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/7601e258-26b2-8481-36d0-dc9dca6f28f1%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3c173a53a825075f3efe32b9917eff5063e81f4d

Modified Files
--------------
contrib/adminpack/adminpack.c | 1 +
contrib/file_fdw/file_fdw.c | 1 +
src/backend/access/brin/brin.c | 1 +
src/backend/catalog/dependency.c | 1 +
src/backend/catalog/objectaddress.c | 1 +
src/backend/commands/collationcmds.c | 1 +
src/backend/commands/conversioncmds.c | 1 +
src/backend/commands/copy.c | 1 +
src/backend/commands/dropcmds.c | 1 +
src/backend/commands/operatorcmds.c | 1 +
src/backend/commands/publicationcmds.c | 1 +
src/backend/commands/subscriptioncmds.c | 1 +
src/backend/executor/execExpr.c | 1 +
src/backend/executor/execPartition.c | 1 +
src/backend/replication/walreceiver.c | 1 +
src/backend/replication/walsender.c | 1 +
src/backend/statistics/extended_stats.c | 1 +
src/backend/storage/ipc/procarray.c | 1 +
src/backend/storage/large_object/inv_api.c | 1 +
src/backend/utils/adt/genfile.c | 1 +
src/backend/utils/adt/selfuncs.c | 1 +
src/backend/utils/misc/guc.c | 1 +
src/include/catalog/objectaddress.h | 4 ++--
src/include/catalog/pg_namespace.h | 1 +
src/include/commands/collationcmds.h | 2 +-
src/include/commands/createas.h | 2 +-
src/include/commands/dbcommands.h | 2 +-
src/include/commands/defrem.h | 2 +-
src/include/commands/extension.h | 2 +-
src/include/commands/vacuum.h | 2 +-
src/pl/tcl/pltcl.c | 1 +
31 files changed, 32 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2020-03-10 10:22:14 pgsql: Remove win32ver.rc from version_stamp.pl
Previous Message Peter Eisentraut 2020-03-10 08:13:09 pgsql: Support adding partitioned tables to publication