Add libpq pipeline mode support to pgbench
authorAlvaro Herrera <[email protected]>
Mon, 15 Mar 2021 21:33:03 +0000 (18:33 -0300)
committerAlvaro Herrera <[email protected]>
Mon, 15 Mar 2021 21:33:03 +0000 (18:33 -0300)
commit9aa491abbf07ca8385a429385be8d68517384fdf
tree4dbfcf06d0b125fdcb4f3568bdc840f3c2d4c20d
parentacb7e4eb6b1c614c68a62fb3a6a5bba1af0a2659
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é <[email protected]>
Reviewed-by: Álvaro Herrera <[email protected]>
Discussion: https://postgr.es/m/b4e34135-2bd9-4b8a-94ca-27d760da26d7@manitou-mail.org
doc/src/sgml/ref/pgbench.sgml
src/bin/pgbench/pgbench.c
src/bin/pgbench/t/001_pgbench_with_server.pl