Re: pgsql: Add libpq pipeline mode support to pgbench

2021-04-09 Thread Alvaro Herrera
On 2021-Mar-17, Daniel Verite wrote: > Fabien COELHO wrote: > > > For consistency with the existing \if … \endif, ISTM that it could have > > been named \batch … \endbatch or \pipeline … \endpipeline? > > "start" mirrors "end". To me, the analogy with \if-\endif is not > obvious. > Gramma

Re: pgsql: Add libpq pipeline mode support to pgbench

2021-03-17 Thread Daniel Verite
Fabien COELHO wrote: > For consistency with the existing \if … \endif, ISTM that it could have > been named \batch … \endbatch or \pipeline … \endpipeline? "start" mirrors "end". To me, the analogy with \if-\endif is not obvious. Grammatically \if is meant to introduce the expression aft

Re: pgsql: Add libpq pipeline mode support to pgbench

2021-03-17 Thread Fabien COELHO
Bonjour Daniel, Ola Alvaro, Add libpq pipeline mode support to pgbench New metacommands \startpipeline and \endpipeline allow the user to run queries in libpq pipeline mode. Author: Daniel Vérité Reviewed-by: Álvaro Herrera Discussion: https://postgr.es/m/b4e34135-2bd9-4b8a-94ca-27d760da2.