pgsql: Don't bother to set sockaddr_un.sun_len. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Don't bother to set sockaddr_un.sun_len.
Date
Msg-id E1oQSmw-000qE3-OP@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Add CHECK_FOR_INTERRUPTS while decoding changes.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Remove offsetof definition