postgres.git / summary / log / commit / refs

commit    f69aece6f475b08a6ec60f80531eefc0005d9e9b
Author:   Fujii Masao <fujii@postgresql.org>
Date:     Sat Jun 15 20:07:02 2013 +0000

    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.


src/bin/pg_dump/pg_backup_archiver.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c index a720afb72cc..cd7669b5eb2 100644 --- a/src/bin/pg_dump/pg_backup_archiver.c +++ b/src/bin/pg_dump/pg_backup_archiver.c @@ -885,6 +885,9 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt) case archCustom: fmtName = "CUSTOM"; break; + case archDirectory: + fmtName = "DIRECTORY"; + break; case archTar: fmtName = "TAR"; break; [parent: 873ab97219ca]