Re: Fix for Extra Parenthesis in pgbench progress message
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Andres Freund <andres@anarazel.de>,
Fujii Masao <masao.fujii@oss.nttdata.com>,
Tatsuo Ishii <ishii@postgresql.org>,
pgsql-release@lists.postgresql.org, pgsql-hackers@postgresql.org
Date: 2025-02-07T18:10:04Z
Lists: pgsql-hackers
Attachments
- pgbench-fix.patch (text/x-diff) patch
Nathan Bossart <nathandbossart@gmail.com> writes: > On Fri, Feb 07, 2025 at 12:58:38PM -0500, Tom Lane wrote: >> Let me have a go at fixing it, and if it turns out to be harder >> than I think, I'll revert it instead. > Oops, I was already taking a look at this. I figured it'd just be > something like the following, although maybe there's a more elegant way. Well, the stuff with prev_chars really ought to be skipped as well. (Yeah, it's probably a no-op, but readers shouldn't have to figure that out.) My thought was that duplicating the logic isn't so bad, as attached. regards, tom lane
Commits
-
Fix pgbench performance issue induced by commit af35fe501.
- b6decfc1d22b 13.19 landed
- 5addea71c7c7 14.16 landed
- 499d1cf55d3d 15.11 landed
- fb056564ec5b 18.0 landed
- e35d396ec354 17.3 landed
- 21b815f92e82 16.7 landed
-
pgbench: Ensure previous progress message is fully cleared when updating.
- f1cb5e51f329 13.19 landed
- 0f13e1a78b14 14.16 landed
- 1e46f7351abc 15.11 landed
- 1cf646957135 16.7 landed
- adb103fcacdd 17.3 landed
- af35fe501af5 18.0 landed