Re: Build warning with meson and dtrace on Fedora 43 - Mailing list pgsql-hackers

From Andrey Rachitskiy
Subject Re: Build warning with meson and dtrace on Fedora 43
Date
Msg-id CAB8bMisA1rHTSPmtGkLBYZcTteUJ91BxrZjbFRxdu2qO8KvAuQ@mail.gmail.com
Whole thread
Responses Re: Support EXCEPT for TABLES IN SCHEMA publications
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:
> Pushed with minor additional comment-smithing.  I also double-checked
> that macOS's current behavior applies at least as far back as
> macOS 14 (Sonoma), so we should be good on any version that anyone
> is likely to install PG 20 on.
>
> [...]
>
> BTW, I realized that we had no buildfarm coverage of --enable-dtrace
> on macOS, so I've enabled that on indri.

Thanks for pushing, and for the extra comment polish.
Having --enable-dtrace enabled on indri should help catch macOS-specific issues sooner.

чт, 30 июл. 2026 г. в 05:33, Tom Lane <tgl@sss.pgh.pa.us>:
Andrey Rachitskiy <pl0h0yp1@gmail.com> writes:
> I've
> rewritten the probes.d note along those lines and kept ssize_t/size_t
> for the smgr probes (system-supplied, matching md.c).

> Updated patch attached.

Pushed with minor additional comment-smithing.  I also double-checked
that macOS's current behavior applies at least as far back as
macOS 14 (Sonoma), so we should be good on any version that anyone
is likely to install PG 20 on.

I noticed that we had

#define bool unsigned char

in there, and tried to get rid of that, reasoning that now that we
use <stdbool.h> "bool" does not mean "unsigned char".  However, macOS
rejects "bool", so I desisted.  Thinking twice, it looks like we
could instead do

#define bool _Bool

but that seems like a matter for a separate patch, perhaps.

BTW, I realized that we had no buildfarm coverage of --enable-dtrace
on macOS, so I've enabled that on indri.

                        regards, tom lane


--
Regards,
Rachitskiy Andrey

pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: Race between pg_dump and ALTER SEQUENCE can cause read failure
Next
From: Chao Li
Date:
Subject: Re: A new C function `get_partition_root`.