| От | Tom Lane |
|---|---|
| Тема | Re: unable to fail over to warm standby server |
| Дата | |
| Msg-id | 24571.1265752772@sss.pgh.pa.us обсуждение |
| Ответ на | Re: unable to fail over to warm standby server (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>) |
| Список | pgsql-bugs |
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> Tom Lane wrote:
>> Yes. Please see the existing code in the postmaster that prints
>> subprocess exit codes, and duplicate it (or perhaps refactor so you can
>> avoid code duplication; though translatability of messages might limit
>> what you can do there).
> Here's what I came up with. Translatability indeed makes it pretty hard,
> I ended up copy-pasting.
Looks reasonable to me. One possible objection is that someone running
in "terse" logging mode would not get any information about the child
process's exit code, since errdetail would be suppressed in that case.
But we can probably live with that --- as far as I can tell, few people
use terse-mode logging.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера