]> git.ipfire.org Git - thirdparty/postgresql.git/commit
meson: host_system value for Solaris is 'sunos' not 'solaris'.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Feb 2026 01:05:52 +0000 (20:05 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Feb 2026 01:05:52 +0000 (20:05 -0500)
commit59c2f7efaef665d1d3c47a4d3b72cf39bd03cffb
tree8221dcaf84409cdac425060b0cfa6b2862bba313
parent5449fd261ea8c66ad55039f092768dade4922128
meson: host_system value for Solaris is 'sunos' not 'solaris'.

This thinko caused us to not substitute our own getopt() code,
which results in failing to parse long options for the postmaster
since Solaris' getopt() doesn't do what we expect.  This can be seen
in the results of buildfarm member icarus, which is the only one
trying to build via meson on Solaris.

Per consultation with pgsql-release, it seems okay to fix this
now even though we're in release freeze.  The fix visibly won't
affect any other platforms, and it can't break Solaris/meson
builds any worse than they're already broken.

Discussion: https://postgr.es/m/2471229.1770499291@sss.pgh.pa.us
Backpatch-through: 16
meson.build