diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2020-03-10 10:22:52 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2020-03-10 10:27:00 +0100 |
commit | 3c173a53a825075f3efe32b9917eff5063e81f4d (patch) | |
tree | b567cad953a950f079d7864cb265819e6ff969ec /src/backend/utils | |
parent | 17b9e7f9fe238eeb5f6b40061b444ebf28d9e06f (diff) | |
download | postgresql-3c173a53a825075f3efe32b9917eff5063e81f4d.tar.gz postgresql-3c173a53a825075f3efe32b9917eff5063e81f4d.zip |
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
Diffstat (limited to 'src/backend/utils')
-rw-r--r-- | src/backend/utils/adt/genfile.c | 1 | ||||
-rw-r--r-- | src/backend/utils/adt/selfuncs.c | 1 | ||||
-rw-r--r-- | src/backend/utils/misc/guc.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/utils/adt/genfile.c b/src/backend/utils/adt/genfile.c index 3741b87486d..5bda2af87c3 100644 --- a/src/backend/utils/adt/genfile.c +++ b/src/backend/utils/adt/genfile.c @@ -30,6 +30,7 @@ #include "miscadmin.h" #include "postmaster/syslogger.h" #include "storage/fd.h" +#include "utils/acl.h" #include "utils/builtins.h" #include "utils/memutils.h" #include "utils/syscache.h" diff --git a/src/backend/utils/adt/selfuncs.c b/src/backend/utils/adt/selfuncs.c index 0be26fe0378..8339f4cd7a2 100644 --- a/src/backend/utils/adt/selfuncs.c +++ b/src/backend/utils/adt/selfuncs.c @@ -126,6 +126,7 @@ #include "parser/parsetree.h" #include "statistics/statistics.h" #include "storage/bufmgr.h" +#include "utils/acl.h" #include "utils/builtins.h" #include "utils/date.h" #include "utils/datum.h" diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index c1fad3b3508..4c6d6486623 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -81,6 +81,7 @@ #include "storage/standby.h" #include "tcop/tcopprot.h" #include "tsearch/ts_cache.h" +#include "utils/acl.h" #include "utils/builtins.h" #include "utils/bytea.h" #include "utils/float.h" |