pgsql: Remove unnecessary include of

2023-12-03 Thread Peter Eisentraut
Remove unnecessary include of This was probably never necessary. (The header used to use random(), but that shouldn't require either. In any case, that's gone, too.) Reviewed-by: Shubham Khanna Reviewed-by: Tom Lane Discussion: https://www.postgresql.org/message-id/flat/cff5475d-e0a9-4561-

pgsql: Remove unnecessary include of

2023-12-03 Thread Peter Eisentraut
Remove unnecessary include of This was put here as part of a mechanical replacement of the old "getaddrinfo.h" with plus (commit 5579388d2d). But here, we only need netdb.h (for NI_MAXHOST), not sys/socket.h. Reviewed-by: Shubham Khanna Reviewed-by: Tom Lane Discussion: https://www.postgre