git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 873ab97)
Fix pg_restore -l with the directory archive to display the correct format name.
2013年6月15日 20:07:02 +0000 (05:07 +0900)
2013年6月15日 20:07:02 +0000 (05:07 +0900)
Back-patch to 9.1 where the directory archive was introduced.


diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c
index a720afb72cc87a59543414572853f779dba6f07a..cd7669b5eb2cae5743da4341faaef6274ab7eb4b 100644 (file)
--- a/src/bin/pg_dump/pg_backup_archiver.c
+++ b/src/bin/pg_dump/pg_backup_archiver.c
@@ -885,6 +885,9 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt)
case archCustom:
fmtName = "CUSTOM";
break;
+ case archDirectory:
+ fmtName = "DIRECTORY";
+ break;
case archTar:
fmtName = "TAR";
break;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /