Fix pg_dump output to a named tar-file archive.
"pg_dump -Ft -f filename ..." got broken by my recent commit 4317e0246c645f60c39e6572644cff1cb03b4c65, which I fear I only tested in the output-to-stdout variant. Report and fix by Muhammad Asif Naeem.
This commit is contained in:
parent
7d754961f7
commit
bf0945e863
@ -862,6 +862,7 @@ _CloseArchive(ArchiveHandle *AH)
|
||||
|
||||
ropt = NewRestoreOptions();
|
||||
memcpy(ropt, AH->ropt, sizeof(RestoreOptions));
|
||||
ropt->filename = NULL;
|
||||
ropt->dropSchema = 1;
|
||||
ropt->compression = 0;
|
||||
ropt->superuser = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user