Skip to content

Commit 678f544

Browse files
committed
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 2bfb50b. Per headerscheck/cpluspluscheck.
1 parent bc0cc68 commit 678f544

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/include/commands/publicationcmds.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#define PUBLICATIONCMDS_H
1717

1818
#include "catalog/objectaddress.h"
19-
#include "nodes/parsenodes.h"
19+
#include "parser/parse_node.h"
2020

2121
extern ObjectAddress CreatePublication(ParseState *pstate, CreatePublicationStmt *stmt);
2222
extern void AlterPublication(ParseState *pstate, AlterPublicationStmt *stmt);

src/include/commands/subscriptioncmds.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#define SUBSCRIPTIONCMDS_H
1717

1818
#include "catalog/objectaddress.h"
19-
#include "nodes/parsenodes.h"
19+
#include "parser/parse_node.h"
2020

2121
extern ObjectAddress CreateSubscription(ParseState *pstate, CreateSubscriptionStmt *stmt,
2222
bool isTopLevel);

0 commit comments

Comments
 (0)