From: Fujii Masao Date: Sat, 15 Jun 2013 20:15:44 +0000 (+0900) Subject: Fix pg_restore -l with the directory archive to display the correct format name. X-Git-Tag: REL9_1_10~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81bb2d23bdf8d0b102c5fb0abd0a5df6fd74aba9;p=postgresql 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. --- diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c index 7b1bf94630..7764f3d2a3 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;