Re: Suggestion to add --continue-client-on-abort option to pgbench
Yugo Nagata <nagata@sraoss.co.jp>
From: Yugo Nagata <nagata@sraoss.co.jp>
To: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
Cc: Fujii Masao <masao.fujii@gmail.com>, Rintaro Ikeda
<ikedarintarof@oss.nttdata.com>, Jakub Wartak
<jakub.wartak@enterprisedb.com>, "Hayato Kuroda (Fujitsu)"
<kuroda.hayato@fujitsu.com>, "slpmcf@gmail.com" <slpmcf@gmail.com>,
"boekewurm+postgres@gmail.com" <boekewurm+postgres@gmail.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Srinath
Reddy Sadipiralla <srinath2133@gmail.com>, Dilip Kumar
<dilipbalaut@gmail.com>
Date: 2025-09-26T02:52:34Z
Lists: pgsql-hackers
On Thu, 25 Sep 2025 10:27:44 +0200 Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com> wrote: > Hi, > > The patch looks good, I've spotted some typos in the doc. > > + Allows clients to continue their run even if an SQL statement > fails due to > + errors other than serialization or deadlock. Unlike > serialization and deadlock > + failures, clients do not retry the same transactions but > start new transaction. > > Should be "but start a new transaction.", although "proceed to the > next transaction." may be clearer here that ? > > + number of transactions that got a SQL error > + (zero unless <option>--failures-detailed</option> is specified) > > It seems like both "a SQL" and "an SQL" are used in the codebase and > doc, but this page only uses "an SQL", so using "an SQL" may be better > for consistency. > > + If an SQL command fails due to serialization or deadlock errors, the > + client does not aborted, regardless of whether > > Should be "the client does not abort." Thank you for your review. I've attached the updated patch in my previous post in this thread. By the way, on the pgsql-hackers list, top-posting is generally discouraged [1], so replying below the quoted messages is usually preferred. [1] https://wiki.postgresql.org/wiki/Mailing_Lists Regards, Yugo Nagata -- Yugo Nagata <nagata@sraoss.co.jp>
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pgbench: Fix assertion failure with multiple \syncpipeline in pipeline mode.
- 5bc251b28839 17.8 landed
- 00e64e35c8bd 18.2 landed
- 4aa0ac05765e 19 (unreleased) landed
-
pgbench: Add --continue-on-error option.
- 0ab208fa505c 19 (unreleased) landed
-
Fix "inconsistent DLL linkage" warning on Windows MSVC
- a3ea5330fcf4 19 (unreleased) cited
-
pgbench: Fix error reporting in readCommandResponse().
- 7d7e81d1e6b8 13.23 landed
- cb21e1f92fb3 14.20 landed
- bdccb6302871 15.15 landed
- 36c4d30c8f24 16.11 landed
- a912118c6055 17.7 landed
- 29aabbc43269 18.1 landed
- 19d4f9ffc207 19 (unreleased) landed
-
pgbench: Fix assertion failure with retriable errors in pipeline mode.
- 704f517711b4 15.15 landed
- 8b2e290bde21 16.11 landed
- f39d9164b70a 17.7 landed
- c736808e03b7 18.1 landed
- 8bb174295e89 19 (unreleased) landed
-
Allow pgbench to retry in some cases.
- 4a39f87acd6e 15.0 cited