Re: Change copyObject() to use typeof_unqual - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Change copyObject() to use typeof_unqual
Date
Msg-id 398055.1773759904@sss.pgh.pa.us
Whole thread Raw
In response to Re: Change copyObject() to use typeof_unqual  ("Jelte Fennema-Nio" <postgres@jeltef.nl>)
List pgsql-hackers
"Jelte Fennema-Nio" <postgres@jeltef.nl> writes:
> On Tue Mar 17, 2026 at 3:39 AM CET, Tom Lane wrote:
>> While this version of clang doesn't like typeof_unqual, it does take
>> __typeof_unqual__.  So maybe we were premature to decide that we
>> could prefer the typeof_unqual spelling.

> Hmmm, that makes sense. How about this patch to at least keep the
> all the logic related to this in one place? I was able to reproduce this
> error using the following flags, and this fixes the issue for me.

Seems reasonable, and I confirm that this fixes things for me on
Fedora 43.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Add starelid, attnum to pg_stats and leverage this in pg_dump
Next
From: Ayush Tiwari
Date:
Subject: Re: Proposal: Prevent Primary/Standby SLRU divergence during MultiXact truncation