#include "postgres.h"
#include "nodes/makefuncs.h"
-#include "nodes/parsenodes.h"
-#include "replication/replnodes.h"
+#include "nodes/replnodes.h"
#include "replication/walsender.h"
+
/* Result of the parsing is returned here */
Node *replication_parse_result;
#include <signal.h>
#include <unistd.h>
-#include "funcapi.h"
-#include "access/xlog_internal.h"
#include "access/transam.h"
+#include "access/xlog_internal.h"
#include "catalog/pg_type.h"
+#include "funcapi.h"
#include "libpq/libpq.h"
#include "libpq/pqformat.h"
#include "libpq/pqsignal.h"
#include "miscadmin.h"
+#include "nodes/replnodes.h"
#include "replication/basebackup.h"
-#include "replication/replnodes.h"
#include "replication/walprotocol.h"
#include "replication/walreceiver.h"
#include "replication/walsender.h"
T_WithClause,
T_CommonTableExpr,
+ /*
+ * TAGS FOR REPLICATION GRAMMAR PARSE NODES (replnodes.h)
+ */
+ T_IdentifySystemCmd,
+ T_BaseBackupCmd,
+ T_StartReplicationCmd,
+
/*
* TAGS FOR RANDOM OTHER STUFF
*
* Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * src/include/replication/replnodes.h
+ * src/include/nodes/replnodes.h
*
*-------------------------------------------------------------------------
*/
#define REPLNODES_H
#include "access/xlogdefs.h"
-#include "nodes/primnodes.h"
-#include "nodes/value.h"
+#include "nodes/pg_list.h"
-/*
- * NodeTags for replication parser
- */
-typedef enum ReplNodeTag
-{
- T_IdentifySystemCmd = 10,
- T_BaseBackupCmd,
- T_StartReplicationCmd
-} ReplNodeTag;
/* ----------------------
* IDENTIFY_SYSTEM command
*
* Portions Copyright (c) 2010-2011, PostgreSQL Global Development Group
*
- * src/include/replication/walsender.h
+ * src/include/replication/basebackup.h
*
*-------------------------------------------------------------------------
*/
#ifndef _BASEBACKUP_H
#define _BASEBACKUP_H
-#include "replication/replnodes.h"
+#include "nodes/replnodes.h"
extern void SendBaseBackup(BaseBackupCmd *cmd);