Fabien COELHO wrote:
> >I just wasted some time puzzling over strange results from pgbench.
> >I eventually realized that I'd been testing against the wrong server,
> >because rather than "-p 65432" I'd typed "-P 65432", thereby invoking
> >the recently added --progress option. pgbench has no way to know that
> >that isn't what I meant; the fact that both switches take integer
> >arguments doesn't help.
>
> ISTM that this is an unfortunate but unlikely mistake, as "-p" is
> used in all postgresql commands to signify the port number (psql,
> pg_dump, pg_basebackup, createdb, ...).
Plus other tools already use -P for progress, such as rsync.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services