Re: pgsql: Replace __builtin_types_compatible_p with _Generic

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Replace __builtin_types_compatible_p with _Generic
Date: 2026-07-14 13:00:54
Message-ID: aad97ee4-6f78-4436-91d6-aa3fa0a65d97@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 14.07.26 10:40, Peter Eisentraut wrote:
> Replace __builtin_types_compatible_p with _Generic

> Note that even though we have required C11 since f5e0186f865, we have
> not made use of _Generic until now (except in an MSVC-specific case in
> commit 59c2f03d1ec). This now raises the effective compiler
> requirement on the trailing edge slightly from GCC 4.8 to GCC 4.9.
> This in turn means that we effectively drop support for RHEL 7.

FYI, it is expected that some trailing-edge buildfarm members will fail
to build now. I'm in contact with the owners to decommission those.

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message noreply 2026-07-14 20:36:44 pgsql: Tag refs/tags/REL_19_BETA2 was created
Previous Message Peter Eisentraut 2026-07-14 08:40:25 pgsql: Replace __builtin_types_compatible_p with _Generic