You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* More than one mutually exclusive option was defined. */
1203
1210
if (recovery_target_specified>1)
1204
-
elog(ERROR, "At most one of --recovery-target, --recovery-target-name, --recovery-target-time, --recovery-target-xid, or --recovery-target-lsn can be specified");
1211
+
elog(ERROR, "At most one of '--recovery-target', '--recovery-target-name', "
1212
+
"'--recovery-target-time', '--recovery-target-xid' or "
1213
+
"'--recovery-target-lsn' options can be specified");
1205
1214
1206
1215
/*
1207
1216
* If none of the options is defined, '--recovery-target-inclusive' option
1208
1217
* is meaningless.
1209
1218
*/
1210
1219
if (!(rt->xid_string||rt->time_string||rt->lsn_string) &&
1211
1220
rt->target_inclusive)
1212
-
elog(ERROR, "--recovery-target-inclusive option applies when either --recovery-target-time, --recovery-target-xid or --recovery-target-lsn is specified");
1221
+
elog(ERROR, "The '--recovery-target-inclusive' option can be applied only when "
1222
+
"either of '--recovery-target-time', '--recovery-target-xid' or "
1223
+
"'--recovery-target-lsn' options is specified");
1224
+
1225
+
/* If none of the options is defined, '--recovery-target-action' is meaningless */
1226
+
if (rt->target_action&&recovery_target_specified==0)
1227
+
elog(ERROR, "The '--recovery-target-action' option can be applied only when "
1228
+
"either of '--recovery-target', '--recovery-target-time', '--recovery-target-xid', "
1229
+
"'--recovery-target-lsn' or '--recovery-target-name' options is specified");
0 commit comments