aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/dbcommands.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-03-10 10:22:52 +0100
committerPeter Eisentraut <peter@eisentraut.org>2020-03-10 10:27:00 +0100
commit3c173a53a825075f3efe32b9917eff5063e81f4d (patch)
treeb567cad953a950f079d7864cb265819e6ff969ec /src/include/commands/dbcommands.h
parent17b9e7f9fe238eeb5f6b40061b444ebf28d9e06f (diff)
downloadpostgresql-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/include/commands/dbcommands.h')
-rw-r--r--src/include/commands/dbcommands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h
index f8f6d5ffd03..fb8ccfdbf53 100644
--- a/src/include/commands/dbcommands.h
+++ b/src/include/commands/dbcommands.h
@@ -17,7 +17,7 @@
#include "access/xlogreader.h"
#include "catalog/objectaddress.h"
#include "lib/stringinfo.h"
-#include "nodes/parsenodes.h"
+#include "parser/parse_node.h"
extern Oid createdb(ParseState *pstate, const CreatedbStmt *stmt);
extern void dropdb(const char *dbname, bool missing_ok, bool force);