Re: pg_resetwal --next-transaction-id may cause database failed to restart.

Поиск
Список
Период
Сортировка
От movead.li@highgo.ca
Тема Re: pg_resetwal --next-transaction-id may cause database failed to restart.
Дата
Msg-id 2020072013402195066673@highgo.ca
обсуждение исходный текст
Ответ на Re: pg_resetwal --next-transaction-id may cause database failed to restart.  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers

>It may be OK actually; if you're doing multiple dangerous changes, you'd
>use --dry-run beforehand ... No?  (It's what *I* would do, for sure.)
>Which in turns suggests that it would good to ensure that --dry-run
>*also* emits a warning (not an error, so that any other warnings can
>also be thrown and the user gets the full picture).
Yes that's true, I have chaged the patch and will get a warning rather than
error when we point a --dry-run option.
And I remake the code which looks more clearly.

>I think adding multiple different --force switches makes the UI more
>complex for little added value.
Yes I also feel about that, but I can't convince myself to use --force
to finish the mission, because --force is used when something wrong with
pg_control file and we can listen to hackers' proposals.


Regards,
Highgo Software (Canada/China/Pakistan)
URL : www.highgo.ca
EMAIL: mailto:movead(dot)li(at)highgo(dot)ca
Вложения

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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Comment simplehash/dynahash trade-offs
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: psql - add SHOW_ALL_RESULTS option