Re: Refactor to make use of a common function for GetSubscriptionRelations and GetSubscriptionNotReadyRelations.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Refactor to make use of a common function for GetSubscriptionRelations and GetSubscriptionNotReadyRelations.
Дата
Msg-id CAA4eK1JnYk97T=TMxHAygFN2k5TujVBuspFDvVjncqCG-xdtyA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Refactor to make use of a common function for GetSubscriptionRelations and GetSubscriptionNotReadyRelations.  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Refactor to make use of a common function for GetSubscriptionRelations and GetSubscriptionNotReadyRelations.  (Peter Smith <smithpb2250@gmail.com>)
Список pgsql-hackers
On Thu, Jul 21, 2022 at 10:03 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Thu, Jul 21, 2022 at 09:54:05AM +0530, Amit Kapila wrote:
> > Yeah, it is not very clear to me either. I think this won't be
> > difficult to change one or another way depending on future needs. At
> > this stage, it appeared to me that bitmask is a better way to
> > represent this information but if you and other feels using enum is a
> > better idea then I am fine with that as well.
>
> Please don't get me wrong :)
>
> I favor a bitmask over an enum here, as you do, with a clean
> layer for those flags.
>

Okay, let's see what Peter Smith has to say about this as he was in
favor of using enum here?

-- 
With Regards,
Amit Kapila.



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: add a missing space