From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Mike Blackwell <mike.blackwell@rrd.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9518: temporary login failure - "missing pg_hba entry"
Date: Mon, 31 Mar 2014 23:17:21 -0300
Message-ID: <20140401021720.GC9567@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <CANPAkgvUyUgYx3eNG_Sodo5u05B-_TeO4oeKev+6S4-wtn9qiw@mail.gmail.com>
References: <20140310145444.1230.51833@wrigleys.postgresql.org>
<20140310145859.GK4759@eldon.alvh.no-ip.org>
<CANPAkguNy7Yc4Fj0DsaTcixHAFsfZoXbkJZDJyD+7J9CLMTL+w@mail.gmail.com>
<CANPAkgvUyUgYx3eNG_Sodo5u05B-_TeO4oeKev+6S4-wtn9qiw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, mike.blackwell@rrd.com
Subject: Re: BUG #9518: temporary login failure - "missing pg_hba entry"
In-Reply-To: <20140401021720.GC9567@eldon.alvh.no-ip.org>
References: <20140310145444.1230.51833@wrigleys.postgresql.org> <20140310145859.GK4759@eldon.alvh.no-ip.org> <CANPAkguNy7Yc4Fj0DsaTcixHAFsfZoXbkJZDJyD+7J9CLMTL+w@mail.gmail.com> <CANPAkgvUyUgYx3eNG_Sodo5u05B-_TeO4oeKev+6S4-wtn9qiw@mail.gmail.com> <20140401021720.GC9567@eldon.alvh.no-ip.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