Re: Add lookup table for replication slot invalidation causes

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Add lookup table for replication slot invalidation causes
Дата
Msg-id Zdksqyj33Bvt71pc@paquier.xyz
обсуждение исходный текст
Ответ на Re: Add lookup table for replication slot invalidation causes  (Peter Smith <smithpb2250@gmail.com>)
Список pgsql-hackers
On Fri, Feb 23, 2024 at 09:04:04AM +1100, Peter Smith wrote:
> I would've just removed every local variable instead of adding more of
> them. I also felt the iteration starting from RS_INVAL_NONE instead of
> 0 is asserting RS_INVAL_NONE must always be the first enum and can't
> be rearranged. Probably it will never happen, but why require it?

FWIW, I think that the code is OK as-is, so I'd just let it be for
now.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Printing backtrace of postgres processes
Следующее
От: Tristen Raab
Дата:
Сообщение: Re: Documentation: warn about two_phase when altering a subscription