Re: Solaris compiler status

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2025-09-03T11:42:56Z
Lists: pgsql-hackers
> On 3 Sep 2025, at 07:47, Peter Eisentraut <peter@eisentraut.org> wrote:

> - Hundreds of compiler warnings (They are not necessarily wrong, but it shows that no one has taken care to tune the warnings or the code in any way recently.)

Should these be posted somewhere before they are lost in case anyone is keen on
digging through the list for any relevant fixes?

> So, can we declare that we don't support this compiler anymore?
> 
> (gcc is readily available and seems to work alright, so I'm not saying the OS is no longer viable.)

+1 based on the findings above.

--
Daniel Gustafsson




Commits

  1. Remove traces of support for Sun Studio compiler

  2. Remove checks for no longer supported GCC versions

  3. Remove stray semicolon at global scope

  4. Provide vectored variants of smgrread() and smgrwrite().

  5. Convert *GetDatum() and DatumGet*() macros to inline functions