pgsql: Add query cancellation capabilities in pgbench init phase

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add query cancellation capabilities in pgbench init phase
Date: 2019-12-02 02:53:57
Message-ID: E1ibbqX-0004Ge-10@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2019-12-02 03:18:14 Re: pgsql: Add a regression test for allow_system_table_mods
Previous Message Michael Paquier 2019-12-02 02:21:05 pgsql: Refactor query cancellation code into src/fe_utils/