diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/nodes/nodes.h | 1 | ||||
-rw-r--r-- | src/include/nodes/replnodes.h | 9 | ||||
-rw-r--r-- | src/include/replication/walsender_private.h | 1 |
3 files changed, 1 insertions, 10 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h index f9ddafd3459..da35f2c2722 100644 --- a/src/include/nodes/nodes.h +++ b/src/include/nodes/nodes.h @@ -501,7 +501,6 @@ typedef enum NodeTag T_ReadReplicationSlotCmd, T_StartReplicationCmd, T_TimeLineHistoryCmd, - T_SQLCmd, /* * TAGS FOR RANDOM OTHER STUFF diff --git a/src/include/nodes/replnodes.h b/src/include/nodes/replnodes.h index a7723447400..8ae9c517ff2 100644 --- a/src/include/nodes/replnodes.h +++ b/src/include/nodes/replnodes.h @@ -108,13 +108,4 @@ typedef struct TimeLineHistoryCmd TimeLineID timeline; } TimeLineHistoryCmd; -/* ---------------------- - * SQL commands - * ---------------------- - */ -typedef struct SQLCmd -{ - NodeTag type; -} SQLCmd; - #endif /* REPLNODES_H */ diff --git a/src/include/replication/walsender_private.h b/src/include/replication/walsender_private.h index e62ef965f70..9631047c6c1 100644 --- a/src/include/replication/walsender_private.h +++ b/src/include/replication/walsender_private.h @@ -121,6 +121,7 @@ extern int replication_yylex(void); extern void replication_yyerror(const char *str) pg_attribute_noreturn(); extern void replication_scanner_init(const char *query_string); extern void replication_scanner_finish(void); +extern bool replication_scanner_is_replication_command(void); extern Node *replication_parse_result; |