Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YvOjQ-0004No-J3 for pgsql-bugs@arkaria.postgresql.org; Thu, 21 May 2015 11:33:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YvOjQ-0004Lv-3B for pgsql-bugs@arkaria.postgresql.org; Thu, 21 May 2015 11:33:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YvOjO-0004Jq-Lb for pgsql-bugs@postgresql.org; Thu, 21 May 2015 11:33:42 +0000 Received: from jiboia.ensmp.fr ([194.214.158.103]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1YvOjK-0002ig-Sm for pgsql-bugs@postgresql.org; Thu, 21 May 2015 11:33:41 +0000 Received: from cri.ensmp.fr (nat-any-rnt.cri.ensmp.fr [195.83.117.252]) (authenticated bits=0) by jiboia.ensmp.fr (8.14.9/8.14.9/JMMC-22/Oct/2013) with ESMTP id t4LBXYT3024755 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 May 2015 13:33:35 +0200 Date: Thu, 21 May 2015 13:33:34 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@sto To: "Shulgin, Oleksandr" cc: mail , PostgreSQL Bugs List Subject: Re: BUG #12379: pgbench should hint to pgbench -i In-Reply-To: Message-ID: References: <20141231105955.8014.38426@wrigleys.postgresql.org> <87oales6zm.fsf@ashulgin01.corp.ad.zalando.net> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Miltered: at jiboia.ensmp.fr with ID 555DC28E.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Auth: USER-ID fabien.coelho X-j-chkmail-Enveloppe: 555DC28E.000 from nat-any-rnt.cri.ensmp.fr/nat-any-rnt.cri.ensmp.fr/195.83.117.252/cri.ensmp.fr/ X-Pg-Spam-Score: -1.9 (-) 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 >>>> HINT: is "foo" the right database? did you initialize first (pgbench -i)? >>> Is "doo" the right database? Did you initialize it first (pgbench -i)? >> HINT (pgbench): Is "foo" the right database? Did you initialize (-i) first? >> pgbench: ... >> pgbench HINT: ... > Well, prefixing with ": " makes sense to me in the general > case. But would it not be odd to do that for this message, and not the > whole lot of the rest of stuff pgbench can print to stderr, which are not > fatal errors, that is: hints? Sure, it would not be strictly homogeneous with other stuff. On the other hand, ISTM desirable that the "hint"ness quality of the message is clear, because this is directly actionnable help, where other messages just report a failure (cannot open log file, failed to set timer, whatever), but do not provide much help for solving it, so I would rather keep something with the "hint" word somewhere. -- Fabien. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs