mirror of
https://github.com/postgres/postgres.git
synced 2026-02-21 17:00:40 -05: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:
parent
cf0f08e03b
commit
81bb2d23bd
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue