Re: Pgbench: remove synchronous prepare

lakshmi <lakshmigcdac@gmail.com>

From: lakshmi <lakshmigcdac@gmail.com>
To: Dmitrii Bondar <d.bondar@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2026-04-06T06:54:46Z
Lists: pgsql-hackers
On Mon, Mar 23, 2026 at 11:45 AM Dmitrii Bondar <d.bondar@postgrespro.ru>
wrote:

> Rebase.
>
> Hi Dmitrii,
>
> I tested the latest patch with PgBouncer in session pooling mode (pool
> size 20, 21 clients).
>
> Before applying the patch, pgbench got stuck under this setup and
> eventually hit a query_wait_timeout error.
>
> After applying the patch, pgbench runs smoothly even when clients are
> queued. I can see continuous progress output and normal throughput (~60k
> TPS), with no errors or stalls.
>
> The change works well in my testing.
>
> Thanks for the patch!
>
> Regards,
> Lakshmi G
>
>