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

From Jelte Fennema-Nio
Subject Re: Change copyObject() to use typeof_unqual
Date
Msg-id DH3RH5BLS2RD.3S48VNG64JMIU@jeltef.nl
Whole thread Raw
In response to Re: Change copyObject() to use typeof_unqual  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Change copyObject() to use typeof_unqual
List pgsql-hackers
On Sun, 15 Mar 2026 at 23:13, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "Jelte Fennema-Nio" <postgres@jeltef.nl> writes:
> > If not, then I'm starting to think that actually checking support for
> > this feature for CLANG is probably easier to understand (and less
> > fragile) than combining all of these tricks together. Attached is a
> > patch to do so.
>
> +1 for concept, but don't you need to fix meson.build too?

I believe that we don't have fully working bc compilation for meson[1],
so I'm not entirely sure how to test out if it actually works. But the
attached now does *something* for meson too at least.

[1]: https://www.postgresql.org/message-id/flat/206b001d-1884-4081-bd02-bed5c92f02ba%40eisentraut.org

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Defend against -ffast-math in meson builds
Next
From: Shinya Kato
Date:
Subject: Re: pg_stat_replication.*_lag sometimes shows NULL during active replication