| From: | "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl> |
|---|---|
| To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | "Peter Eisentraut" <peter(at)eisentraut(dot)org>, "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Change copyObject() to use typeof_unqual |
| Date: | 2026-03-15 23:57:17 |
| Message-ID: | DH3RH5BLS2RD.3S48VNG64JMIU@jeltef.nl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sun, 15 Mar 2026 at 23:13, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> "Jelte Fennema-Nio" <postgres(at)jeltef(dot)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 | Content-Type | Size |
|---|---|---|
| v2-0001-Check-CLANG-for-typeof_unqual.patch | text/x-patch | 12.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Shinya Kato | 2026-03-16 00:25:52 | Re: pg_stat_replication.*_lag sometimes shows NULL during active replication |
| Previous Message | Tom Lane | 2026-03-15 23:35:52 | Re: Defend against -ffast-math in meson builds |