Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aRVQA-0007fA-9I for pgsql-committers@arkaria.postgresql.org; Fri, 05 Feb 2016 01:42:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aRVQ9-0001g2-SY for pgsql-committers@arkaria.postgresql.org; Fri, 05 Feb 2016 01:42:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aRVPx-0001ST-FM for pgsql-committers@postgresql.org; Fri, 05 Feb 2016 01:42:37 +0000 Received: from mout.gmx.net ([212.227.15.15]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1aRVPv-0001WF-1s for pgsql-committers@postgresql.org; Fri, 05 Feb 2016 01:42:36 +0000 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lj1Xa-1ZuuDn0Ujm-00dDYF for ; Fri, 05 Feb 2016 02:42:33 +0100 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 616FA20283 for ; Thu, 4 Feb 2016 20:42:31 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Thu, 04 Feb 2016 20:42:31 -0500 X-Sasl-enc: tszoddw2cEweHr9I48Gh2Qzm3ig+nPl97Ntnob7v9Yj0 1454636551 Received: from [10.0.0.7] (c-73-13-69-21.hsd1.pa.comcast.net [73.13.69.21]) by mail.messagingengine.com (Postfix) with ESMTPA id 22A00680137; Thu, 4 Feb 2016 20:42:31 -0500 (EST) Subject: Re: pgsql: Improve error reporting when location specified by postgres -D d To: Tom Lane References: <1486.1454473569@sss.pgh.pa.us> Cc: pgsql-committers@postgresql.org From: Peter Eisentraut Message-ID: <56B3FE06.4040903@gmx.net> Date: Thu, 4 Feb 2016 20:42:30 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1486.1454473569@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:DssJWdkk2tGCI+4AgZxQsilK0MgdweHNTsgRRRY3N685/lFlXSU dW7rHbK3sFMXH1FLzQCwI0iRHJy2/5pdGkIIKl7lQQisyxgSYI3pni65T8PFhuec3Ycie8V loA5sWfBdDujkC3je+CnTIcggHKQAK4W6ApkPkXqK89e3zYDRxHhX+ehnV/miNsgDH92XUp M219so5/81UCp7emomA6Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:6z5iSE3fXoA=:0GKBuBdujI0B3FJV8qdFVz cEnERCEknfyKgVmBcVG9PdGnsHNO5zFpevgZjA8FRh41Ph+tKiDTqh/TRiRlGKSEc684j8EgP cEB0UQv5cTxIxBU8iHzaKcOH0I9atu0BP9Mfw7/67+VIEy8wiCoPyJDUFK0x+9MOQMOAK/7xA AXzI0KHv/glyN0p6h+HJ0XkFOIHPEVjJPM7kei/ueY/AYpDrnna65plkjvKTqF/lwNDIvfPC1 Wqqlf4LF3Aa9d1BFilR/GqpSXy8XIsGLmS5WGds/Y93CTBhT5mjAu0149QRAIROzp9Fy4M2Ts c0VLend8gWmo0dsuvKV5KfkXg0bOwN3uFBM8fdDj86MH42GzxPRLQrMVjr9eHaSopWJAXCoa2 HShSmIxKlMx3r9mMkqArkXEUpTCQT6rVrf3D12qREqexloTbXaGyzCYJVQmJWltu8x2dtoYTL y+rlNUPKQYimiQTIvIzs2qql8O6mju1iygiT2XvjAS+wiDco++n94WCaaa3qTahS8ZUHZ2kID 6QKekbC+z4E3nLYKBVN3BY+8o1ZkK0e6+yDnbQtERTYigvmtVcyG2mFdXeMxKO6ojpdSdLUah IYK3scX0aJSs700NUrhyAZFznZlqcAjDSmIx1SSR6OVMhczyl90mG1RYTBVVhNKNTbqIHyMk0 zLldjbKm0E24dfgAVUlewQQWssZFJuZFffv7qZnijoaSI2Bcx9ZT0nQrnfubKv5Uu/CRKTTQV VtTfDFONPAqJZYzYonEzSuv44Paxhh0d29LSLyARb9LyP4Y8SOOAWiRDKQ3kDsMk2Vl/TrLbd hWTJtVA X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2/2/16 11:26 PM, Tom Lane wrote: > Peter Eisentraut writes: >> + if (configdir && stat(configdir, &stat_buf) != 0) >> + { >> + write_stderr("%s: could not access \"%s\": %s\n", >> + progname, >> + configdir, >> + strerror(errno)); > > Perhaps "could not access directory ..."? This doesn't seem to follow the > message style guideline about specifying what sort of object you're > complaining about. Done. Somehow I was under the mistaken impression that one could also specific a config file name there. -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers