| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use logical OR (||) rather than bitwise OR (|) for bools |
| Date: | 2026-11-26 08:06:23 |
| Message-ID: | E1xWUUp-00000000N5D-3pvV@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Use logical OR (||) rather than bitwise OR (|) for bools
Harmless, but let's be tidy.
Author: Mikhail Gribkov <youzhick(at)gmail(dot)com>
Reviewed-by: Xuneng Zhou <xunengzhou(at)gmail(dot)com>
Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/CAMEv5_uzqc9=anZvJBvhXtd1ry3x71nDZn_irTq4uuAuD_qSqA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9872a0de75b1d4b178681008543a0e2dffd5fda4
Modified Files
--------------
src/backend/catalog/namespace.c | 2 +-
src/test/modules/test_aio/test_aio.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dean Rasheed | 2026-11-26 09:03:42 | pgsql: doc: Remove incorrect sentence from MERGE docs for AND condition |
| Previous Message | Amit Kapila | 2026-11-26 05:52:37 | pgsql: Fix assorted issues in conflict log table handling. |