Re: In 8.2, shutdown wrongly caused automatic restart

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: In 8.2, shutdown wrongly caused automatic restart
Дата
Msg-id 20968.1280939843@sss.pgh.pa.us
обсуждение исходный текст
Ответ на In 8.2, shutdown wrongly caused automatic restart  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: In 8.2, shutdown wrongly caused automatic restart  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-bugs
Fujii Masao <masao.fujii@gmail.com> writes:
> 6. ... the bgwriter had already ended even though there was a backend in
>    progress. Postmaster regarded this situation as abnormal and caused the
>    recovery.

> In 8.3 or later, since postmaster doesn't regard that situation as abnormal
> and just waits for all backends to exit again, the problem doesn't happen.
> I think that this is a bug in 8.2 and should be fixed in the same way as 8.3
> does. Thought?

My recollection is that that change was associated with some pretty
significant revisions to the postmaster state machine.  I'm concerned
about the risks involved in back-patching that.  This seems to be a
corner case with pretty minimal consequences anyway, so I'm inclined
to leave 8.2 alone.

Now, if I'm wrong about that and you can produce a simple and obviously
correct patch for 8.2, go ahead.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: string_agg delimiter having no effect with order by
Следующее
От: Robert Haas
Дата:
Сообщение: Re: string_agg delimiter having no effect with order by