diff options
author | Fujii Masao <fujii@postgresql.org> | 2013-06-16 05:07:02 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2013-06-16 05:07:02 +0900 |
commit | f69aece6f475b08a6ec60f80531eefc0005d9e9b (patch) | |
tree | 1084a6f649ab6124d3c8d143fffcf4b5ca98fb1d /src | |
parent | 873ab97219caabeb2f7b390268a4fe01e2b7518c (diff) |
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 a720afb72cc..cd7669b5eb2 100644 --- 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; |