pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add query cancellation capabilities in pgbench init phase
Date: Mon, 02 Dec 2019 02:53:57 +0000
Message-ID: <E1ibbqX-0004Ge-10@gemulon.postgresql.org> (raw)

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



Message-ID: <E1ibbqX-0004Ge-10@gemulon.postgresql.org>
Permalink:  ../E1ibbqX-0004Ge-10@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ibbqX-0004Ge-10@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Add query cancellation capabilities in pgbench init phase
  In-Reply-To: <E1ibbqX-0004Ge-10@gemulon.postgresql.org>
  References: <E1ibbqX-0004Ge-10@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox