Re: recovery_target_action=pause with confusing hint

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: recovery_target_action=pause with confusing hint
Дата
Msg-id b007be90-572a-f735-8900-75d011afc97f@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: recovery_target_action=pause with confusing hint  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: recovery_target_action=pause with confusing hint  (movead li <movead.li@highgo.ca>)
Список pgsql-hackers

On 2020/03/10 2:27, Robert Haas wrote:
> On Mon, Mar 9, 2020 at 12:03 PM Fujii Masao <masao.fujii@oss.nttdata.com> wrote:
>> I started the discussion about the topic very related to this.
>> I'm thinking to apply the change that Sergei proposes after applying
>> the patch I attached in this thread.
>> https://postgr.es/m/00c194b2-dbbb-2e8a-5b39-13f14048ef0a@oss.nttdata.com
> 
> I think it would be good to change the primary message, not just the hint.  e.g.
> 
> LOG: pausing at end of recovery
> HINT: Execute pg_wal_replay_resume() to promote.
> 
> vs.
> 
> LOG: recovery has paused
> HINT: Execute pg_wal_replay_resume() to continue.

Looks good to me.
Attached is the updated version of the patch.
This is based on Sergei's patch.

Regards,


-- 
Fujii Masao
NTT DATA CORPORATION
Advanced Platform Technology Group
Research and Development Headquarters

Вложения

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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: weird hash plan cost, starting with pg10
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Option to dump foreign data in pg_dump