pg_restore -l with a directory archive

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pg_restore -l with a directory archive
Дата
Msg-id CAHGQGwGD=-JkcqYnpY0=aHDvq0Vy_JkOUUt-ofJiNKQFJ2TjVg@mail.gmail.com
обсуждение исходный текст
Ответы Re: pg_restore -l with a directory archive  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Hi,

When I ran pg_restore -l with the directory arhicve input, I found that
its format is wrongly reported as UNKNOWN.

$ pg_dump -F d -f hoge
$ pg_restore -l hoge
;
; Archive created at Sat Jun 15 01:38:14 2013
;     dbname: postgres
;     TOC Entries: 9
;     Compression: -1
;     Dump Version: 1.12-0
;     Format: UNKNOWN
;     Integer: 4 bytes
;     Offset: 8 bytes
;     Dumped from database version: 9.3beta1
;     Dumped by pg_dump version: 9.3beta1
;
;
; Selected TOC Entries:


In this case, the format should be reported as DIRECTORY.
The attached patch fixes this problem.

Regards,

--
Fujii Masao

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Patch for fail-back without fresh backup
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: MD5 aggregate