pgsql: Add missing guard for __builtin_constant_p

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add missing guard for __builtin_constant_p
Date: 2026-05-05 11:53:13
Message-ID: E1wKEKv-000SAq-1n@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add missing guard for __builtin_constant_p

Oversight in commit e2809e3a1. While at it, use pg_integer_constant_p
in master.

Discussion: https://postgr.es/m/CANWCAZbOha-x5MCreQn3TRA56VdKWNMAKMy3fAV1kJSw9Vp4pw@mail.gmail.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/936d8974c3bcf4fc7163fcd1b403eea2adffa73e

Modified Files
--------------
src/include/port/pg_crc32c.h | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Álvaro Herrera 2026-05-05 14:23:31 pgsql: Skip other sessions' temp tables in REPACK, CLUSTER, and VACUUM
Previous Message John Naylor 2026-05-05 11:52:30 pgsql: Add missing guard for __builtin_constant_p