Commit f69aece6 authored by Fujii Masao's avatar Fujii Masao

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.
parent 873ab972
......@@ -885,6 +885,9 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt)
case archCustom:
fmtName = "CUSTOM";
break;
case archDirectory:
fmtName = "DIRECTORY";
break;
case archTar:
fmtName = "TAR";
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment