pgsql: Remove configure probes for sockaddr_storage members.

2022-08-21 Thread Thomas Munro
Remove configure probes for sockaddr_storage members. Remove four probes for members of sockaddr_storage. Keep only the probe for sockaddr's sa_len, which is enough for our two remaining places that know about _len fields: 1. ifaddr.c needs to know if sockaddr has sa_len to understand the resul

pgsql: Use logical operator && instead of & in vacuumparallel.c.

2022-08-21 Thread Amit Kapila
Use logical operator && instead of & in vacuumparallel.c. As such the current usage of & won't produce incorrect results but it would be better to use && to short-circuit the evaluation of second condition when the same is not required. Author: Ranier Vilela Reviewed-by: Tom Lane, Bharath Rupired

pgsql: Use logical operator && instead of & in vacuumparallel.c.

2022-08-21 Thread Amit Kapila
Use logical operator && instead of & in vacuumparallel.c. As such the current usage of & won't produce incorrect results but it would be better to use && to short-circuit the evaluation of second condition when the same is not required. Author: Ranier Vilela Reviewed-by: Tom Lane, Bharath Rupired

pgsql: Fix comment in walsender_private.h

2022-08-21 Thread Michael Paquier
Fix comment in walsender_private.h All the members of the stucture are protected by the spinlock WalSnd, but a comment referred to "replyTime" and "latch" as not being in the set of what gets protected, contrary to what walsender.c does. Author: Bharath Rupireddy Discussion: https://postgr.es/m/