pgsql: Fix unused function warning on Arm platforms

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix unused function warning on Arm platforms
Date: 2026-04-05 01:54:01
Message-ID: E1w9Cga-0030Dv-2a@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix unused function warning on Arm platforms

Guard definition pg_pmull_available() on compile-time availability
of PMULL. Oversight in fbc57f2bc. In passing, remove "inline" hint
for consistency.

Reported-by: Tomas Vondra <tomas(at)vondra(dot)me>
Discussion: https://postgr.es/m/f153d5a4-a9be-4211-b0b2-7e99b56d68d5@vondra.me

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2849fe4c978540111748208ba96af7808602c567

Modified Files
--------------
src/port/pg_crc32c_armv8_choose.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2026-04-05 05:22:59 pgsql: aio: io_uring: Trigger async processing for large IOs
Previous Message Álvaro Herrera 2026-04-04 22:22:57 pgsql: Modernize struct declarations in snapbuild.h