pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unnecessary include of <sys/socket.h>
Date: Mon, 04 Dec 2023 05:41:59 +0000
Message-ID: <E1rA1iR-008VIQ-2H@gemulon.postgresql.org> (raw)

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.Khanna@fujitsu.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.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(-)



Message-ID: <E1rA1iR-008VIQ-2H@gemulon.postgresql.org>
Permalink:  ../E1rA1iR-008VIQ-2H@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rA1iR-008VIQ-2H@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove unnecessary include of <sys/socket.h>
  In-Reply-To: <E1rA1iR-008VIQ-2H@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox