#primary_conninfo = '' # e.g. 'host=localhost port=5432'
#
#
-# Specifies the synchronization mode of replication.
-#replication_mode = 'async' # 'async', 'recv', 'fsync' or 'apply'
-#
-#
# By default, a standby server keeps streaming XLOG records from the
# primary indefinitely. If you want to stop streaming and finish recovery,
# opening up the system in read/write mode, specify path to a trigger file.
(errmsg("trigger_file = '%s'",
TriggerFile)));
}
- else if (strcmp(tok1, "replication_mode") == 0)
- {
- rplMode = ReplicationModeNameGetValue(tok2);
- if (rplMode == InvalidReplicationMode)
- ereport(FATAL,
- (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
- errmsg("invalid value for parameter \"replication_mode\": \"%s\"",
- tok2)));
- ereport(DEBUG2,
- (errmsg("replication_mode = '%s'", tok2)));
- }
else
ereport(FATAL,
(errmsg("unrecognized recovery parameter \"%s\"",