Re: Crash during backend start when low on memory

Поиск
Список
Период
Сортировка
От Mats Kindahl
Тема Re: Crash during backend start when low on memory
Дата
Msg-id CA+144253kLtpL4iDaGK4z0yZ_2kd7KJktqEPMaw8sLze7L+ceg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Crash during backend start when low on memory  (Mats Kindahl <mats@timescale.com>)
Список pgsql-bugs


On Mon, Feb 6, 2023 at 8:37 AM Mats Kindahl <mats@timescale.com> wrote:

I can remove the PG_TRY() and use ereport(LOG, ...) + ExitPostmaster if it feels like a safer path for incorporating a bug fix, but note that there is still a risk that the backend will tear down the postmaster. For example, allocating memory for a memory context can fail, or throwing another error inside the backend startup can also fail, so I think that there will be more work to do after this.

Not ExitPostmaster, of course, but some proc_exit call for the backend and returning status code for the postmaster.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #17767: psql: tab-completion causes warnings when standard_conforming_strings = off
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17767: psql: tab-completion causes warnings when standard_conforming_strings = off