pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Shulgin, Oleksandr <oleksandr.shulgin@zalando.de>
Cc: mail <mail@bwe.im>
Cc: PostgreSQL Bugs List <pgsql-bugs@postgresql.org>
Subject: Re: BUG #12379: pgbench should hint to pgbench -i
Date: Thu, 21 May 2015 13:33:34 +0200 (CEST)
Message-ID: <alpine.DEB.2.10.1505211323240.14769@sto> (raw)
In-Reply-To: <CACACo5SKW1GFrHTzOWLHJeXCEoQrEiijdtqo4d7hrvLW3_NFiA@mail.gmail.com>
References: <20141231105955.8014.38426@wrigleys.postgresql.org>
	<alpine.DEB.2.10.1503080851220.4406@sto>
	<alpine.DEB.2.10.1504260845160.6827@sto>
	<87oales6zm.fsf@ashulgin01.corp.ad.zalando.net>
	<alpine.DEB.2.10.1505211001110.14769@sto>
	<CACACo5SKW1GFrHTzOWLHJeXCEoQrEiijdtqo4d7hrvLW3_NFiA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>


>>>>  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 "<binaryname>: " 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



view thread (23+ messages)  latest in thread

Message-ID: <alpine.DEB.2.10.1505211323240.14769@sto>
Permalink:  ../alpine.DEB.2.10.1505211323240.14769@sto/
Also on:    postgresql.org/message-id/alpine.DEB.2.10.1505211323240.14769@sto

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: coelho@cri.ensmp.fr, oleksandr.shulgin@zalando.de, mail@bwe.im
  Subject: Re: BUG #12379: pgbench should hint to pgbench -i
  In-Reply-To: <alpine.DEB.2.10.1505211323240.14769@sto>
  References: <20141231105955.8014.38426@wrigleys.postgresql.org> <alpine.DEB.2.10.1503080851220.4406@sto> <alpine.DEB.2.10.1504260845160.6827@sto> <87oales6zm.fsf@ashulgin01.corp.ad.zalando.net> <alpine.DEB.2.10.1505211001110.14769@sto> <CACACo5SKW1GFrHTzOWLHJeXCEoQrEiijdtqo4d7hrvLW3_NFiA@mail.gmail.com> <alpine.DEB.2.10.1505211323240.14769@sto>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox