pgsql: Fix operator typo in tablecmds.c - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix operator typo in tablecmds.c
Date
Msg-id E1p8C09-004oS7-Me@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/01be9d498fa4b836ec3dbf035b6743c8b8f34767

Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Add palloc_aligned() to allow aligned memory allocations
Next
From: Thomas Munro
Date:
Subject: pgsql: Add work-around for VA_ARGS_NARGS() on MSVC.