Re: Type assertions without GCC builtins

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Type assertions without GCC builtins
Date: 2025-12-13 19:23:01
Message-ID: a04fa83a-2443-457d-a54f-a8a1a9c18278@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 19.11.25 19:44, Peter Eisentraut wrote:
> Yeah, I had been playing with a similar patch, which now also crashes on
> CI, but I'm pretty sure this worked at some point.  So maybe an upgrade
> or downgrade would fix it.
>
> Note however that similar to the comment I made over about stdatomic.h,
> we currently still have buildfarm members with gcc <4.9, which don't
> support _Generic.
>
> The attached 0001 patch, which is also contained in your patch, should
> be applied nonetheless.  After researching the history, I think when
> relptr.h was added, it just took a shortcut with the configure checks
> available at the time, and we should just correct it now.

I have committed this 0001 patch. The rest of this discussion is still
pending.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dharin Shah 2025-12-13 19:32:27 Re: [PATCH] Add zstd compression for TOAST using extended header format
Previous Message Corey Huinker 2025-12-13 19:12:16 Re: Import Statistics in postgres_fdw before resorting to sampling.