make pg_ctl more friendly

Поиск
Список
Период
Сортировка
От Crisp Lee
Тема make pg_ctl more friendly
Дата
Msg-id CAGHPtV7GttPZ-HvxZuYRy70jLGQMEm5=LQc4fKGa=J74m2VZbg@mail.gmail.com
обсуждение исходный текст
Ответы Re: make pg_ctl more friendly  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi hackers:

I got a basebackup using pg_basebackup -R. After that, I created a restore point named test on primary, and set recovery_target_name to test, recovery_target_action to shutdown in standby datadir. I got a failure startup message  after 'pg_ctl start -D $standby_datadir'. I think it is not a failure, and makes users nervous, especially for newbies.

My thought is to generate a recovery.done file if the postmaster receives exit code 3 from the startup process. When postmaster  exits, pg_ctl will give a more friendly message to users.
Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Is this a problem in GenericXLogFinish()?
Следующее
От: Japin Li
Дата:
Сообщение: Re: Tab completion regression test failed on illumos