Re: BUG #9518: temporary login failure - "missing pg_hba entry"

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Mike Blackwell <mike(dot)blackwell(at)rrd(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9518: temporary login failure - "missing pg_hba entry"
Date: 2014-04-01 02:17:21
Message-ID: 20140401021720.GC9567@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Mike Blackwell wrote:
> ​This particular host is listed in pg_hba.conf by host name rather than by
> IP address. Is it possible this error is due to an intermittent DNS
> failure?​

Doesn't look like it; that code has this:

ret = getaddrinfo(port->remote_hostname, NULL, NULL, &gai_result);
if (ret != 0)
ereport(ERROR,
(errmsg("could not translate host name \"%s\" to address: %s",
port->remote_hostname, gai_strerror(ret))));

so unless I'm misreading it, you should see an error message in your
server log.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2014-04-01 02:54:00 Re: BUG #9518: temporary login failure - "missing pg_hba entry"
Previous Message Venkata Balaji Nagothi 2014-04-01 01:01:41 Re: BUG #9518: temporary login failure - "missing pg_hba entry"

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-04-01 02:54:00 Re: BUG #9518: temporary login failure - "missing pg_hba entry"
Previous Message Bruce Momjian 2014-04-01 01:03:41 Re: Fix memset usage in pgcrypto