Re: Suggestion to add --continue-client-on-abort option to pgbench - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Suggestion to add --continue-client-on-abort option to pgbench
Date
Msg-id CAHGQGwFSW2g5Qf=Ws2xHaCT05vk2hLskXTXQ=y4no=W8byj++w@mail.gmail.com
Whole thread Raw
In response to Re: Suggestion to add --continue-client-on-abort option to pgbench  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: Suggestion to add --continue-client-on-abort option to pgbench
List pgsql-hackers
On Tue, Nov 11, 2025 at 11:41 AM Chao Li <li.evan.chao@gmail.com> wrote:
> I am also debugging the patch for the other purpose when I saw your email, so I tried to reproduce the problem with
yourscript. 
>
> I think in master branch, we can simply fix the problem by calling discardAvailableResults(st) before
discardUntilSync(st),like this: 

This change doesn't seem to fix the issue. If the custom script includes
many \syncpipeline commands, the assertion failure can still occur. No?

Regards,

--
Fujii Masao



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Suggestion to add --continue-client-on-abort option to pgbench
Next
From: Hannu Krosing
Date:
Subject: Patch: dumping tables data in multiple chunks in pg_dump