pgsql: pgbench: Add \syncpipeline

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pgbench: Add \syncpipeline
Date: 2024-01-24 07:55:38
Message-ID: E1rSY6k-002quc-Rs@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2024-01-24 14:04:38 pgsql: Improve notation of BuiltinTrancheNames
Previous Message Amit Langote 2024-01-24 06:21:50 pgsql: Adjust populate_record_field() to handle errors softly