Fix operator typo in tablecmds.c
authorMichael Paquier <michael@paquier.xyz>
Thu, 22 Dec 2022 03:08:45 +0000 (12:08 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 22 Dec 2022 03:08:45 +0000 (12:08 +0900)
commit01be9d498fa4b836ec3dbf035b6743c8b8f34767
tree928c69f7b2fe3a518d24ca7118efd3bd77dded20
parent439f61757f054109f9ee5415530a2744f7e5cb7a
Fix operator typo in tablecmds.c

A bitwise operator was getting used on two bools in
ATAddCheckConstraint() to track if constraints should be merged or not
with the existing ones of a relation, though obviously this should use
a boolean OR operator.  This led to the same result, but let's be
clean.

Oversight in 074c5cf.

Author: Ranier Vilela
Reviewed-by: Justin Pryzby
Discussion: https://postgr.es/m/CAEudQAp2R2fbbi0OHHhv_n4=Ch0t1VtjObR9YMqtGKHJ+faUFQ@mail.gmail.com
src/backend/commands/tablecmds.c