Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8ce27c9

Browse files
committed
Add warning about using --start-time option
1 parent 65345f2 commit 8ce27c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/pg_probackup.c

+5
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,11 @@ main(int argc, char *argv[])
944944
current.stream = stream_wal;
945945
if (start_time == 0)
946946
start_time = current_time;
947+
else
948+
elog(WARNING, "Please do not use the --start-time option to start backup. "
949+
"This is a service option required to work with other extensions. "
950+
"We do not guarantee future support for this flag.");
951+
947952

948953
/* sanity */
949954
if (current.backup_mode == BACKUP_MODE_INVALID)

0 commit comments

Comments
 (0)