agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add CHECK_FOR_INTERRUPTS when building pruning steps
Date: Fri, 18 Sep 2026 03:50:39 +0000
Message-ID: <E1x7PcV-00000000CZ4-2xPd@gemulon.postgresql.org> (raw)

Add CHECK_FOR_INTERRUPTS when building pruning steps

Building the partition pruning steps for excessively complex queries
can take some time.  Add CHECK_FOR_INTERRUPTS() to
get_steps_using_prefix_recurse() to allow more timely processing of
interruptions.

Bug: #19692
Reported-by: Qifan Liu <imchifan@163.com>
Discussion: https://postgr.es/m/19692-dacfc57cda5035fc@postgresql.org
Backpatch-through: 14

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/df709d706ce9f9913cad3ff01f64a0a4c67eb07d

Modified Files
--------------
src/backend/partitioning/partprune.c | 2 ++
1 file changed, 2 insertions(+)



view thread (7+ messages)  latest in thread

Message-ID: <E1x7PcV-00000000CZ4-2xPd@gemulon.postgresql.org>
Permalink:  ../E1x7PcV-00000000CZ4-2xPd@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1x7PcV-00000000CZ4-2xPd@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add CHECK_FOR_INTERRUPTS when building pruning steps
  In-Reply-To: <E1x7PcV-00000000CZ4-2xPd@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox