pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fall back to unsigned int, not int, for socklen_t.
Date: Thu, 11 Nov 2021 15:37:28 +0000
Message-ID: <E1mlC8m-0007xm-Bb@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1mlC8m-0007xm-Bb@gemulon.postgresql.org>
Permalink:  ../E1mlC8m-0007xm-Bb@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mlC8m-0007xm-Bb@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fall back to unsigned int, not int, for socklen_t.
  In-Reply-To: <E1mlC8m-0007xm-Bb@gemulon.postgresql.org>
  References: <E1mlC8m-0007xm-Bb@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox