Re: Add option --drop-cascade for pg_dump/restore

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Add option --drop-cascade for pg_dump/restore
Дата
Msg-id CAKAnmmLCOnXA4H=LJdG-hje3iQHyAW4_jp0kpYrV_SkVQVDTZw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add option --drop-cascade for pg_dump/restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Add option --drop-cascade for pg_dump/restore  (Wu Haotian <whtsky@gmail.com>)
Список pgsql-hackers
On Fri, Jul 16, 2021 at 9:40 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
That would require pg_restore to try to edit the DROP commands during
restore, which sounds horribly fragile.  I'm inclined to think that
supporting this option only during initial dump is safer.

Safer, but not nearly as useful. Maybe see what the OP (Wu Haotian) can come up with as a first implementation? 

Cheers,
Greg

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

Предыдущее
От: Greg Sabino Mullane
Дата:
Сообщение: Re: Avoid stuck of pbgench due to skipped transactions
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Postgres perl module namespace