pgbench: Add \syncpipeline

This change adds a new meta-command called \syncpipeline to pgbench,
able to send a sync message without flushing using the new libpq
function PQsendPipelineSync().

This meta-command is available within a block made of \startpipeline and
\endpipeline.

Author: Anthonin Bonnefoy
Discussion: 
https://postgr.es/m/cao6_xqpcnhw6lzhlf-2nppzdtbymm4-rvkr3+ap5coksm9h...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/94edfe250c6a200d2067b0debfe00b4122e9b11e

Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml                | 12 +++++++---
src/bin/pgbench/pgbench.c                    | 28 +++++++++++++++++++---
src/bin/pgbench/t/001_pgbench_with_server.pl | 36 ++++++++++++++++++++++++++++
3 files changed, 70 insertions(+), 6 deletions(-)

Reply via email to