| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Remove unnecessary include of <sys/socket.h> |
| Date: | 2023-12-04 05:41:59 |
| Message-ID: | E1rA1iR-008VIQ-2H@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Remove unnecessary include of <sys/socket.h>
This was put here as part of a mechanical replacement of the old
"getaddrinfo.h" with <netdb.h> plus <sys/socket.h> (commit
5579388d2d). But here, we only need netdb.h (for NI_MAXHOST), not
sys/socket.h.
Reviewed-by: Shubham Khanna <Shubham(dot)Khanna(at)fujitsu(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://www.postgresql.org/message-id/flat/cff5475d-e0a9-4561-b094-794aa36bd031%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/da67cb0a4487bfbf269de72de9d9252dfc80813d
Modified Files
--------------
src/include/replication/walreceiver.h | 1 -
1 file changed, 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2023-12-04 13:04:12 | pgsql: Don't use pgbench -j in tests |
| Previous Message | Michael Paquier | 2023-12-04 00:55:33 | pgsql: Add support for REINDEX in event triggers |