aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index 9d13d577485..a396c2fd93b 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -565,6 +565,7 @@ ReceiveTarFile(PGconn *conn, PGresult *res, int rownum)
else
#endif
tarfile = stdout;
+ strcpy(filename, "-");
}
else
{