Re: PostgreSQL does not compile on macOS SDK 15.0
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Aleksander Alekseev <aleksander@timescale.com>,
Pg Hackers <pgsql-hackers@lists.postgresql.org>,
Stan Hu <stanhu@gmail.com>
Date: 2024-06-25T14:39:08Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > On 2024-06-25 16:49:32 +0300, Aleksander Alekseev wrote: >> Another question is whether we should fix this while the SDK is in >> beta or only after it is released. > Yea. Stan has started multiple threads about this, which is not doing anyone any favors, but that issue was already brought up in https://www.postgresql.org/message-id/flat/4edd2d3c30429c4445cc805ae9a788c489856eb7.1719265762.git.stanhu%40gmail.com I think the immediate action item should be to push back on the change and see if we can get Apple to undo it. If we have to fix it on our side, it is likely to involve API-breaking changes that will cause trouble for extensions. The more so because we'll have to change stable branches too. I tend to agree with the idea that not including <xlocale.h> so widely might be the least-bad fix; but that still risks breaking code that was dependent on that inclusion. regards, tom lane
Commits
-
Cope with <regex.h> name clashes.
- 9c273679b36b 17.0 landed
- 31423bc4489d 16.4 landed
- 467d77bb1634 15.8 landed
- c2342a925b70 14.13 landed
- 440aedc0fb18 13.16 landed
- 274a8195d479 12.20 landed
- 2a5ef0983040 18.0 landed