Add query cancellation capabilities in pgbench init phase
authorMichael Paquier <[email protected]>
Mon, 2 Dec 2019 02:42:28 +0000 (11:42 +0900)
committerMichael Paquier <[email protected]>
Mon, 2 Dec 2019 02:42:28 +0000 (11:42 +0900)
commit1d468b9ad81b9139b4a0b16b416c3597925af4b0
tree20456661f86668fa7eb15953de95ab3014aa113c
parenta4fd3aa719e8f97299dfcf1a8f79b3017e2b8d8b
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
src/bin/pgbench/pgbench.c