pgsql: Don't bother to set sockaddr_un.sun_len.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Don't bother to set sockaddr_un.sun_len.
Date: 2022-08-23 12:13:47
Message-ID: E1oQSmw-000qE3-OP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Don't bother to set sockaddr_un.sun_len.

It's not necessary to fill in sun_len when calling bind() or connect(),
on all known systems that have it.

Discussion: https://postgr.es/m/2781112.1644819528%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c9818798147a4eec00bba61a05fa9bc88398ec3b

Modified Files
--------------
src/common/ip.c | 14 --------------
1 file changed, 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-08-23 13:50:28 pgsql: Remove offsetof definition
Previous Message Amit Kapila 2022-08-23 05:00:35 pgsql: Add CHECK_FOR_INTERRUPTS while decoding changes.