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.
REL9_1_STABLE
Fujii Masao 13 years ago
parent cf0f08e03b
commit 81bb2d23bd
  1. 3
      src/bin/pg_dump/pg_backup_archiver.c

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

Loading…
Cancel
Save