1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-27 22:56:53 +03:00

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:07:02 +09:00
parent 873ab97219
commit f69aece6f4

View File

@ -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;