1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +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:13:58 +09:00
parent cbabf50dcc
commit 25f5487aba

View File

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