Add query cancellation capabilities in pgbench init phase

Enterprise / PostgreSQL - Michael Paquier [paquier.xyz] - 2 December 2019 02:42 EST

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.

1d468b9ad8 Add query cancellation capabilities in pgbench init phase
src/bin/pgbench/pgbench.c | 8 ++++++++
1 file changed, 8 insertions(+)

Upstream: git.postgresql.org


  • Share