Re: something is wonky with pgbench pipelining

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, Andrew Dunstan <andrew@dunslane.net>, Peter Geoghegan <pg@bowt.ie>, pgsql-hackers@postgresql.org
Date: 2021-07-26T07:07:20Z
Lists: pgsql-hackers
On Sat, Jul 24, 2021 at 04:08:33PM -0700, Andres Freund wrote:
> On 2021-07-21 16:55:08 -0700, Andres Freund wrote:
>> I'm inclined to push it to 14 and master, but ...
> 
> RMT: ^

If it were me, I think that I would have back-patched this change even
if found after the GA release of 14 as there is no advantages in
keeping the current behavior either except overloading pgbench with
unnecessary system calls.  No objections from me to change that now
for 14~.
--
Michael

Commits

  1. pgbench: When using pipelining only do PQconsumeInput() when necessary.