Re: test failure on latest source - Mailing list pgsql-hackers

From Tom Lane
Subject Re: test failure on latest source
Date
Msg-id 1291.1397405368@sss.pgh.pa.us
Whole thread Raw
In response to Re: test failure on latest source  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: test failure on latest source  (Marco Atzeri <marco.atzeri@gmail.com>)
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-04-12 16:35:48 -0400, Tom Lane wrote:
>> In principle, that commit shouldn't have affected behavior for pg_hba
>> entries with numeric address fields ...

> Hm. getaddrinfo.c has this bit:
>     /* Unsupported flags. */
>     if (flags & NI_NAMEREQD)
>         return EAI_AGAIN;

Yeah, and that flag is only ever specified when attempting to do reverse
lookup on a client address to see if it matches a non-numeric pg_hba
entry.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: test failure on latest source
Next
From: Jan Wieck
Date:
Subject: Re: Problem with txid_snapshot_in/out() functionality