1 /*-------------------------------------------------------------------------
4 * definitions for replication grammar parse nodes
7 * Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * src/include/nodes/replnodes.h
12 *-------------------------------------------------------------------------
17 #include "access/xlogdefs.h"
18 #include "nodes/pg_list.h"
20 typedef enum ReplicationKind
22 REPLICATION_KIND_PHYSICAL,
23 REPLICATION_KIND_LOGICAL
27 /* ----------------------
28 * IDENTIFY_SYSTEM command
29 * ----------------------
31 typedef struct IdentifySystemCmd
37 /* ----------------------
39 * ----------------------
41 typedef struct BaseBackupCmd
48 /* ----------------------
49 * CREATE_REPLICATION_SLOT command
50 * ----------------------
52 typedef struct CreateReplicationSlotCmd
58 } CreateReplicationSlotCmd;
61 /* ----------------------
62 * DROP_REPLICATION_SLOT command
63 * ----------------------
65 typedef struct DropReplicationSlotCmd
69 } DropReplicationSlotCmd;
72 /* ----------------------
73 * START_REPLICATION command
74 * ----------------------
76 typedef struct StartReplicationCmd
82 XLogRecPtr startpoint;
84 } StartReplicationCmd;
87 /* ----------------------
88 * TIMELINE_HISTORY command
89 * ----------------------
91 typedef struct TimeLineHistoryCmd
97 #endif /* REPLNODES_H */