Re: Type assertions without GCC builtins
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Thomas Munro <thomas.munro@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-12-13T19:23:01Z
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.