Skip to content

Commit 25f5487

Browse files
committed
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.
1 parent cbabf50 commit 25f5487

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,9 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt)
927927
case archCustom:
928928
fmtName = "CUSTOM";
929929
break;
930+
case archDirectory:
931+
fmtName = "DIRECTORY";
932+
break;
930933
case archTar:
931934
fmtName = "TAR";
932935
break;

0 commit comments

Comments
 (0)