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.
pull/68/head
Tom Lane 4 years ago
parent bc0cc68f8a
commit 678f5448c2
  1. 2
      src/include/commands/publicationcmds.h
  2. 2
      src/include/commands/subscriptioncmds.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);

@ -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);

Loading…
Cancel
Save