Add query cancellation capabilities in pgbench init phase

Michael Paquier <michael@paquier.xyz>

Commit: 1d468b9ad81b9139b4a0b16b416c3597925af4b0
Author: Michael Paquier <michael@paquier.xyz>
Date: 2019-12-02T02:42:28Z
Releases: 13.0
Add query cancellation capabilities in pgbench init phase

This can be useful to stop data generation happening on the server for
long-running queries caused by large scale factors.  This cannot happen
by default as data is generated on the client, but it is possible to
control the initialization steps of pgbench to do that.

Reported-by: Fujii Masao
Author: Fabien Coelho
Discussion: https://postgr.es/m/alpine.DEB.2.21.1910311939430.27369@lancre
Discussion: https://postgr.es/m/CAHGQGwHWEyTXxZh46qgFY8a2bDF_EYeUdp3+_Hy=qLZSzwVPKg@mail.gmail.com

Files

PathChange+/−
src/bin/pgbench/pgbench.c modified +8 −0

Discussion