diff options
Diffstat (limited to 'src/backend/replication/walsender.c')
| -rw-r--r-- | src/backend/replication/walsender.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c index 8a639234569..44efa9fc25e 100644 --- a/src/backend/replication/walsender.c +++ b/src/backend/replication/walsender.c @@ -399,17 +399,13 @@ HandleReplicationCommand(const char *cmd_string) break; case T_BaseBackupCmd: - { - BaseBackupCmd *cmd = (BaseBackupCmd *) cmd_node; - - SendBaseBackup(cmd->label, cmd->progress, cmd->fastcheckpoint); + SendBaseBackup((BaseBackupCmd *) cmd_node); - /* Send CommandComplete and ReadyForQuery messages */ - EndCommand("SELECT", DestRemote); - ReadyForQuery(DestRemote); - /* ReadyForQuery did pq_flush for us */ - break; - } + /* Send CommandComplete and ReadyForQuery messages */ + EndCommand("SELECT", DestRemote); + ReadyForQuery(DestRemote); + /* ReadyForQuery did pq_flush for us */ + break; default: ereport(FATAL, |
