From 678f5448c2d86976a98b402ef14482a8ba3b159b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 24 Jul 2021 11:34:33 -0400 Subject: [PATCH] Fix failure of some headers to compile "standalone". Recently-added references to ParseState weren't covered by #include references, creating unwanted ordering dependencies for users of these headers. Oversight in commit 2bfb50b3d. Per headerscheck/cpluspluscheck. --- src/include/commands/publicationcmds.h | 2 +- src/include/commands/subscriptioncmds.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/commands/publicationcmds.h b/src/include/commands/publicationcmds.h index efea01f2a93..a3fa2ac6cdc 100644 --- a/src/include/commands/publicationcmds.h +++ b/src/include/commands/publicationcmds.h @@ -16,7 +16,7 @@ #define PUBLICATIONCMDS_H #include "catalog/objectaddress.h" -#include "nodes/parsenodes.h" +#include "parser/parse_node.h" extern ObjectAddress CreatePublication(ParseState *pstate, CreatePublicationStmt *stmt); extern void AlterPublication(ParseState *pstate, AlterPublicationStmt *stmt); diff --git a/src/include/commands/subscriptioncmds.h b/src/include/commands/subscriptioncmds.h index 8bf25ee66c2..aec7e478abf 100644 --- a/src/include/commands/subscriptioncmds.h +++ b/src/include/commands/subscriptioncmds.h @@ -16,7 +16,7 @@ #define SUBSCRIPTIONCMDS_H #include "catalog/objectaddress.h" -#include "nodes/parsenodes.h" +#include "parser/parse_node.h" extern ObjectAddress CreateSubscription(ParseState *pstate, CreateSubscriptionStmt *stmt, bool isTopLevel); -- 2.39.5