PublicationActions - use bit flags. - Mailing list pgsql-hackers

From Peter Smith
Subject PublicationActions - use bit flags.
Date
Msg-id CAHut+Pt2hjRJxfuF9_GUcBVg=nhk3G+WNsNkPtP2d+4CF4e4Pg@mail.gmail.com
Whole thread Raw
Responses Re: PublicationActions - use bit flags.
Re: PublicationActions - use bit flags.
Re: PublicationActions - use bit flags.
List 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

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Getting rid of regression test input/ and output/ files
Next
From: Greg Nancarrow
Date:
Subject: Re: row filtering for logical replication