Re: pgsql: Portability fix for commit 9a895462d.

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Portability fix for commit 9a895462d.
Date: 2018-04-01 17:59:36
Message-ID: CAHGQGwFSMC3DJGTQaaT-vXybBxGzoAS-eawsyou3dOjih3PWdg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Sat, Mar 31, 2018 at 9:52 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> 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.

Thanks for fixing my mistake.

Regards,

--
Fujii Masao

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-04-01 19:01:35 pgsql: Fix a boatload of typos in C comments.
Previous Message Tom Lane 2018-04-01 16:13:03 Re: pgsql: Set random seed for pgbench.