Re: BUG #12379: pgbench should hint to pgbench -i

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Oleksandr Shulgin <oleksandr(dot)shulgin(at)zalando(dot)de>
Cc: mail(at)bwe(dot)im, PostgreSQL Bugs List <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #12379: pgbench should hint to pgbench -i
Date: 2015-05-22 09:33:19
Message-ID: alpine.DEB.2.10.1505221131480.30229@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


>> HINT: is "foo" the right database? did you initialize first (pgbench -i)?
>
> I don't think there is precedent for spitting out "HINT:" in client code
> (at least grep didn't find it). So this message might look like it's
> coming from the server, while it doesn't.

Here is a v3, which makes it clearer that the hint comes from pgbench.

HINT pgbench: is "foo" the right database? did you initialize first (-i)?

--
Fabien.

Attachment Content-Type Size
pgbench-hint-3.patch text/x-diff 491 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stefan Seifert 2015-05-22 16:10:53 pg_upgrade slowness for databases with many tables
Previous Message Michael Paquier 2015-05-22 06:22:57 Re: unrecognized option '--help