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.
This commit is contained in:
Fujii Masao 2013-06-16 05:12:39 +09:00
parent 61f3ada319
commit fc02d2b245

View File

@ -885,6 +885,9 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt)
case archCustom:
fmtName = "CUSTOM";
break;
case archDirectory:
fmtName = "DIRECTORY";
break;
case archTar:
fmtName = "TAR";
break;