Обсуждение: pgsql: pgbench: Add \syncpipeline

Поиск
Список
Период
Сортировка

pgsql: pgbench: Add \syncpipeline

От
Michael Paquier
Дата:
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

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(-)