Why pg_dump overwrites dump file?

Поиск
Список
Период
Сортировка
От Chao Li
Тема Why pg_dump overwrites dump file?
Дата
Msg-id 534AA60D-CF6B-432F-9882-E9737B33D1B7@gmail.com
обсуждение исходный текст
Ответы Re: Why pg_dump overwrites dump file?
Список pgsql-hackers
Hi Hacker,

I noticed this problem while testing the other patch.

When I do custom-format dump, if a target file exists, pg_dump will just go ahead overwrite the existing file; however, when I do directory dump, if a target dir exists, pg_dump will fail with an error “directory xxx is not empty”.

Behaviors of the two types of pg_dump are inconsistent, I wonder if that’s by design?

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/




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