pgbench: Add \syncpipeline
commit94edfe250c6a200d2067b0debfe00b4122e9b11e
authorMichael Paquier <michael@paquier.xyz>
Wed, 24 Jan 2024 07:55:19 +0000 (24 16:55 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 24 Jan 2024 07:55:19 +0000 (24 16:55 +0900)
treea5b77c29dccee9b6ccc14e448f5802d8f4601d67
parentfaa2b953ba3be0fac9af614ac14e34cf3a0a2c46
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+AP5cOKSm9hrWA@mail.gmail.com
doc/src/sgml/ref/pgbench.sgml
src/bin/pgbench/pgbench.c
src/bin/pgbench/t/001_pgbench_with_server.pl