>> 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.