Add warning about using --start-time option

This commit is contained in:
d.lepikhova
2022-08-03 11:51:41 +05:00
parent 65345f20a0
commit 8ce27c9713
+5
View File
@@ -944,6 +944,11 @@ main(int argc, char *argv[])
current.stream = stream_wal;
if (start_time == 0)
start_time = current_time;
else
elog(WARNING, "Please do not use the --start-time option to start backup. "
"This is a service option required to work with other extensions. "
"We do not guarantee future support for this flag.");
/* sanity */
if (current.backup_mode == BACKUP_MODE_INVALID)