From: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
---|---|
To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, daniel(at)manitou-mail(dot)org |
Cc: | PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pgsql: Add libpq pipeline mode support to pgbench |
Date: | 2021-03-17 09:17:01 |
Message-ID: | alpine.DEB.2.22.394.2103170856400.1011208@pseudo |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Bonjour Daniel, Ola Alvaro,
> 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é <daniel(at)manitou-mail(dot)org>
> Reviewed-by: Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
> Discussion: https://postgr.es/m/b4e34135-2bd9-4b8a-94ca-27d760da26d7@manitou-mail.org
I did not notice that the libpq pipeline mode thread had a pgbench patch
attached, otherwise I would have looked at it.
Some minor post-commit comments:
For consistency with the existing \if … \endif, ISTM that it could have
been named \batch … \endbatch or \pipeline … \endpipeline?
ISTM that the constraint checks (nesting, no \[ag]set) could be added to
CheckConditional that could be renamed to CheckScript. That could allow to
simplify the checks in the command execution as mere Asserts.
--
Fabien.
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2021-03-17 12:16:40 | pgsql: Revert "Fix race in Parallel Hash Join batch cleanup." |
Previous Message | Michael Paquier | 2021-03-17 09:07:40 | pgsql: Fix comment in indexing.c |
From | Date | Subject | |
---|---|---|---|
Next Message | Zhihong Yu | 2021-03-17 09:19:23 | Re: A new function to wait for the backend exit after termination |
Previous Message | Bharath Rupireddy | 2021-03-17 09:14:21 | Re: Should we improve "PID XXXX is not a PostgreSQL server process" warning for pg_terminate_backend(<<postmaster_pid>>)? |