pgsql: Fall back to unsigned int, not int, for socklen_t. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fall back to unsigned int, not int, for socklen_t.
Date
Msg-id E1mlC8m-0007xm-Bb@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fall back to unsigned int, not int, for socklen_t.

It's a coin toss which of these is a better default assumption.
However, of the machines we have in the buildfarm, the only ones
relying on the fallback socklen_t definition are ancient HPUX,
and on that platform unsigned int is the right choice.  Minor
tweak to ee3a1a5b6.

Discussion: https://postgr.es/m/1440792.1636558888@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/01ec41a5fe4aa590dde18a2c551432aa1925caea

Modified Files
--------------
src/include/port.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Restore lock level to set vacuum flags
Next
From: Robert Haas
Date:
Subject: pgsql: Improve performance of pgarch_readyXlog() with many status files