fe-utils - share query cancellation code

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: fe-utils - share query cancellation code
Date: 2019-10-31 18:43:36
Message-ID: alpine.DEB.2.21.1910311939430.27369@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello Devs,

This patch moves duplicated query cancellation code code from psql &
scripts to fe-utils, so that it is shared and may be used by other
commands.

This is because Masao-san suggested to add a query cancellation feature to
pgbench for long queries (server-side data generation being discussed, but
possibly pk and fk could use that as well).

--
Fabien.

Attachment Content-Type Size
fe-cancel-1.patch text/x-diff 21.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2019-10-31 18:46:30 Re: pgbench - extend initialization phase control
Previous Message Andrew Dunstan 2019-10-31 17:02:58 TestLib::command_fails_like enhancement