Re: Trying out <stdatomic.h>

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Burd <greg@burd.me>, Heikki Linnakangas <hlinnaka@iki.fi>, Thomas Munro <thomas.munro@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-23T18:17:32Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add some missing #include <limits.h>.

  2. Enable MSVC conforming preprocessor

On 2025-Nov-23, Tom Lane wrote:

> "Greg Burd" <greg@burd.me> writes:
> > I have another Illumos animal in the works, but if the plan is to deprecate that platform I can set that aside.  As an old Sun engineer I hate to see it disappear, but it is basically EOL at this point.
> 
> I think we can keep it going as long as there are people interested
> in it.  The gating factor at present is probably whether it can
> provide an adequate C11 environment.  But so far I've observed no
> issues with the existing BF members.

Right -- we have

billbug		Solaris 11.4.81 CBE 04.2025	gcc 14.2.0
hake		OpenIndiana / Illumos		gcc 9.3.0
margay		Solaris 11.4.42 CBE		gcc 11.2.0
pollock		OmniOS / illumos		gcc 10.2.0


Hake actually says:
  gcc (OpenIndiana 13.3.0-oi-2) 13.3.0

and pollock:
  gcc (OmniOS 151054/14.2.0-il-1) 14.2.0

so it looks like the oldest is Margay's 11.2, which claims [1] to
support C11, though there are some bugs that were claimed fixed in later
releases of GCC 11.x related to alignment[2].  Perhaps relevant, but I
only searched the strings "align" and "c11" there, they may not apply to
our usage.  At least the owner of margay and billbug is active, so we
can probably get the compiler in these machines updated if needed.


[1] https://gcc.gnu.org/onlinedocs/gcc-11.2.0/gcc/Standards.html#C-Language
[2] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=11.3
    and further for 11.4, 11.5, 11.6.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/