diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-07-24 11:34:33 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-07-24 11:34:33 -0400 |
commit | 678f5448c2d86976a98b402ef14482a8ba3b159b (patch) | |
tree | 33c99a8ce15ea4e30a775f40156cbe3854cb89a6 /src | |
parent | bc0cc68f8a1648029424e9300b2e4457acd474a6 (diff) | |
download | postgresql-678f5448c2d86976a98b402ef14482a8ba3b159b.tar.gz postgresql-678f5448c2d86976a98b402ef14482a8ba3b159b.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/commands/publicationcmds.h | 2 | ||||
-rw-r--r-- | 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); |