Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WVSTL-00072I-HQ for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Apr 2014 21:13:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WVSTL-0005p0-0R for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Apr 2014 21:13:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WVSTK-0005o5-2o for pgsql-bugs@postgresql.org; Wed, 02 Apr 2014 21:13:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WVSTG-0004gq-Ng for pgsql-bugs@postgresql.org; Wed, 02 Apr 2014 21:13:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s32LDEug025403; Wed, 2 Apr 2014 17:13:14 -0400 From: Tom Lane To: Mike Blackwell cc: Alvaro Herrera , pgsql-bugs@postgresql.org Subject: Re: BUG #9518: temporary login failure - "missing pg_hba entry" In-reply-to: References: <20140310145444.1230.51833@wrigleys.postgresql.org> <20140310145859.GK4759@eldon.alvh.no-ip.org> <20140401021720.GC9567@eldon.alvh.no-ip.org> <852.1396320840@sss.pgh.pa.us> <17853.1396365210@sss.pgh.pa.us> Comments: In-reply-to Mike Blackwell message dated "Tue, 01 Apr 2014 10:26:10 -0500" Date: Wed, 02 Apr 2014 17:13:14 -0400 Message-ID: <25402.1396473194@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Mike Blackwell writes: > On Tue, Apr 1, 2014 at 10:13 AM, Tom Lane wrote: >> I guess we could do something like remember the fact that we tried and >> failed to do an rDNS lookup, and report it as DETAIL in the eventual >> "missing pg_hba entry" report. Not quite sure if it's worth the trouble >> --- any thoughts? > That certainly would have saved some head scratching here, so +1 from me. > I'll take a look at this part if no one else is interested, but my C > skills are rather rusty. This was messier than it looked, because there were multiple interacting bugs, but I've committed a fix now. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs