Remove redundant Assert(PgArchPID == 0); in PostmasterStateMachine

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Remove redundant Assert(PgArchPID == 0); in PostmasterStateMachine
Дата
Msg-id CALj2ACW=CYE1ars+2XyPTEPq0wQvru4c0dPZ=Nrn3EqNBkksvQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Remove redundant Assert(PgArchPID == 0); in PostmasterStateMachine
Список pgsql-hackers
Hi,

It looks like the commit d75288fb [1] added an unnecessary
Assert(PgArchPID == 0); in PostmasterStateMachine as the if block code
gets hit only when PgArchPID == 0. PSA small patch.

[1]
commit d75288fb27b8fe0a926aaab7d75816f091ecdc27
Author: Fujii Masao <fujii@postgresql.org>
Date:   Mon Mar 15 13:13:14 2021 +0900

    Make archiver process an auxiliary process.

Regards,
Bharath Rupireddy.

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Preserving param location
Следующее
От: Jacob Champion
Дата:
Сообщение: Re: PROXY protocol support