PublicationActions - use bit flags.

Поиск
Список
Период
Сортировка
От Peter Smith
Тема PublicationActions - use bit flags.
Дата
Msg-id CAHut+Pt2hjRJxfuF9_GUcBVg=nhk3G+WNsNkPtP2d+4CF4e4Pg@mail.gmail.com
обсуждение исходный текст
Ответы Re: PublicationActions - use bit flags.  (Greg Nancarrow <gregn4422@gmail.com>)
Re: PublicationActions - use bit flags.  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Re: PublicationActions - use bit flags.  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
For some reason the current HEAD PublicationActions is a struct of
boolean representing combinations of the 4 different "publication
actions".

I felt it is more natural to implement boolean flag combinations using
a bitmask instead of a struct of bools. IMO using the bitmask also
simplifies assignment and checking of said flags.

PSA a small patch for this.

Thoughts?

------
Kind Regards,
Peter Smith.
Fujitsu Australia

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Getting rid of regression test input/ and output/ files
Следующее
От: Greg Nancarrow
Дата:
Сообщение: Re: row filtering for logical replication