projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
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.
author
Fujii Masao
<fujii@postgresql.org>
Sat, 15 Jun 2013 20:07:02 +0000
(
05:07
+0900)
committer
Fujii Masao
<fujii@postgresql.org>
Sat, 15 Jun 2013 20:07:02 +0000
(
05:07
+0900)
Back-patch to 9.1 where the directory archive was introduced.
src/bin/pg_dump/pg_backup_archiver.c
patch
|
blob
|
blame
|
history
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;