Skip to content

Commit 81bb2d2

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 cf0f08e commit 81bb2d2

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
@@ -834,6 +834,9 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt)
834834
case archCustom:
835835
fmtName = "CUSTOM";
836836
break;
837+
case archDirectory:
838+
fmtName = "DIRECTORY";
839+
break;
837840
case archTar:
838841
fmtName = "TAR";
839842
break;

0 commit comments

Comments
 (0)