Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf0945e

Browse files
committed
Fix pg_dump output to a named tar-file archive.
"pg_dump -Ft -f filename ..." got broken by my recent commit4317e02, which I fear I only testedin the output-to-stdout variant.Report and fix by Muhammad Asif Naeem.
1 parent7d75496 commitbf0945e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/bin/pg_dump/pg_backup_tar.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,7 @@ _CloseArchive(ArchiveHandle *AH)
862862

863863
ropt=NewRestoreOptions();
864864
memcpy(ropt,AH->ropt,sizeof(RestoreOptions));
865+
ropt->filename=NULL;
865866
ropt->dropSchema=1;
866867
ropt->compression=0;
867868
ropt->superuser=NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp