Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aQp1N-0007i9-GW for pgsql-committers@arkaria.postgresql.org; Wed, 03 Feb 2016 04:26:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aQp1N-00007g-2F for pgsql-committers@arkaria.postgresql.org; Wed, 03 Feb 2016 04:26:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aQp1L-00007M-Hz for pgsql-committers@postgresql.org; Wed, 03 Feb 2016 04:26:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aQp1E-0002KR-ET for pgsql-committers@postgresql.org; Wed, 03 Feb 2016 04:26:23 +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 u134Q95V001487; Tue, 2 Feb 2016 23:26:09 -0500 From: Tom Lane To: Peter Eisentraut cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Improve error reporting when location specified by postgres -D d In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Wed, 03 Feb 2016 02:31:25 +0000" Date: Tue, 02 Feb 2016 23:26:09 -0500 Message-ID: <1486.1454473569@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) 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 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. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers