pgsql: Portability fix for commit 9a895462d.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Portability fix for commit 9a895462d.
Date: 2018-03-31 00:52:31
Message-ID: E1f24kx-0005Ei-K6@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Portability fix for commit 9a895462d.

So far as I can find, NI_MAXHOST isn't actually required anywhere by
POSIX. Nonetheless, commit 9a895462d supposed that it could rely on
having that symbol without any ceremony at all. We do have a hack
for providing it if the platform doesn't, in getaddrinfo.h, so fix
the problem by #including that file. Per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b0c90c85fc93f37107365dd8c7f47ba5e00544de

Modified Files
--------------
src/include/replication/walreceiver.h | 1 +
1 file changed, 1 insertion(+)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-03-31 02:48:54 Re: pgsql: Set random seed for pgbench.
Previous Message Andres Freund 2018-03-31 00:38:00 pgsql: Remove PARTIAL_LINKING build mode.