8000 [PBCKP-346] archive-get doesn't need -D/--pgdata argument at all · postgrespro/pg_probackup@8f4e7d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f4e7d6

Browse files
committed
[PBCKP-346] archive-get doesn't need -D/--pgdata argument at all
1 parent 764680e commit 8f4e7d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pg_probackup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,7 @@ main(int argc, char *argv[])
677677
if (instance_config.pgdata != NULL)
678678
canonicalize_path(instance_config.pgdata);
679679
if (instance_config.pgdata != NULL &&
680+
backup_subcmd != ARCHIVE_GET_CMD &&
680681
!is_absolute_path(instance_config.pgdata))
681682
elog(ERROR, "-D, --pgdata must be an absolute path");
682683

0 commit comments

Comments
 (0)
0