Обсуждение: pgsql: Add query cancellation capabilities in pgbench init phase

Поиск
Список
Период
Сортировка

pgsql: Add query cancellation capabilities in pgbench init phase

От
Michael Paquier
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1d468b9ad81b9139b4a0b16b416c3597925af4b0

Modified Files
--------------
src/bin/pgbench/pgbench.c | 8 ++++++++
1 file changed, 8 insertions(+)