diff options
author | Fujii Masao <fujii@postgresql.org> | 2013-06-16 05:15:44 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2013-06-16 05:15:44 +0900 |
commit | 81bb2d23bdf8d0b102c5fb0abd0a5df6fd74aba9 (patch) | |
tree | 4c91cdc3fcfca8ae50eeebe785c6ba677d1cbce3 /src | |
parent | cf0f08e03b51c58e72d56d52a9c07ffbe808a3f1 (diff) | |
download | postgresql-81bb2d23bdf8d0b102c5fb0abd0a5df6fd74aba9.tar.gz postgresql-81bb2d23bdf8d0b102c5fb0abd0a5df6fd74aba9.zip |
Fix pg_restore -l with the directory archive to display the correct format name.
Back-patch to 9.1 where the directory archive was introduced.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_dump/pg_backup_archiver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c index 7b1bf946302..7764f3d2a31 100644 --- a/src/bin/pg_dump/pg_backup_archiver.c +++ b/src/bin/pg_dump/pg_backup_archiver.c @@ -834,6 +834,9 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt) case archCustom: fmtName = "CUSTOM"; break; + case archDirectory: + fmtName = "DIRECTORY"; + break; case archTar: fmtName = "TAR"; break; |