On 2018-Dec-03, Tatsuo Ishii wrote:
> To:
> -------------------------------------------------------------------
> -M querymode
> --protocol=querymode
>
> Protocol to use for submitting queries to the server:
>
> simple: use simple query protocol.
>
> extended: use extended query protocol.
>
> prepared: use extended query protocol with prepared statements.
>
> Because in "prepared" mode pgbench reuses the parse analysis
> result for the second and subsequent query iteration, pgbench runs
> faster in the prepared mode than in other modes.
Looks good to me.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services