提交 f69aece6 编写于 作者: F 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.
上级 873ab972
...@@ -885,6 +885,9 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt) ...@@ -885,6 +885,9 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt)
case archCustom: case archCustom:
fmtName = "CUSTOM"; fmtName = "CUSTOM";
break; break;
case archDirectory:
fmtName = "DIRECTORY";
break;
case archTar: case archTar:
fmtName = "TAR"; fmtName = "TAR";
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册