Re: pg_xlog_replay_resume() considered armed and dangerous

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: pg_xlog_replay_resume() considered armed and dangerous
Дата
Msg-id 55073E43.6040901@BlueTreble.com
обсуждение исходный текст
Ответ на pg_xlog_replay_resume() considered armed and dangerous  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 3/12/15 10:08 AM, Andres Freund wrote:
> I think this, at the very least, needs a big caveat in the documentation
> of the resume function. But a different API would probably be
> better. I'd actually argue that for now pg_xlog_replay_resume() should
> refuse to work if paused due to a recovery target. Promotion should be
> done via the normal promotion methods.

+1. "replay resume" certainly doesn't make me think "promote".
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Additional role attributes && superuser review
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Additional role attributes && superuser review