Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id A21C819F3D0 for ; Mon, 11 Jun 2012 19:28:02 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SeD5b-0007Hw-Rg for pgsql-bugs@postgresql.org; Mon, 11 Jun 2012 22:28:01 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q5BMRi0p020980; Mon, 11 Jun 2012 18:27:44 -0400 (EDT) From: Tom Lane To: David Fetter cc: Magnus Hagander , pgsql-bugs@postgresql.org Subject: Re: BUG #6687: initdb -A ident can almost never be correct In-reply-to: <20120611162744.GC5039@fetter.org> References: <20120611160142.GA5039@fetter.org> <20120611161441.GB5039@fetter.org> <20120611162744.GC5039@fetter.org> Comments: In-reply-to David Fetter message dated "Mon, 11 Jun 2012 09:27:44 -0700" Date: Mon, 11 Jun 2012 18:27:44 -0400 Message-ID: <20979.1339453664@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/111 X-Sequence-Number: 33338 David Fetter writes: > Interface wouldn't change. Instead, it would check for your > once-in-a-blue-moon scenario of identd answering on the network and > error out if it didn't fine same. This is nonsense. As Magnus said, localhost is the one case where identd *can* be trusted. There is no reason that we should discriminate against that case. It also does not seem to me like a good plan to insist that identd be running at the same instant initdb runs; it's not hard to think of installation scenarios where that won't be true. regards, tom lane