ThisTimeLineID = primary_tli;
/* Start streaming from the point requested by startup process */
- snprintf(cmd, sizeof(cmd), "START_REPLICATION %X/%X",
- startpoint.xlogid, startpoint.xrecoff);
+ snprintf(cmd, sizeof(cmd), "START_REPLICATION %X/%X MODE %s",
+ startpoint.xlogid, startpoint.xrecoff,
+ GetConfigOption("replication_mode", false));
res = libpqrcv_PQexec(cmd);
if (PQresultStatus(res) != PGRES_COPY_BOTH)
{