pgsql: Add CHECK_FOR_INTERRUPTS when building pruning steps - Mailing list pgsql-committers

From David Rowley
Subject pgsql: Add CHECK_FOR_INTERRUPTS when building pruning steps
Date
Msg-id E1x7PeH-00000000CfR-1u3V@gemulon.postgresql.org
Whole thread
List pgsql-committers
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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/325ef8f52821447da9b50ee6387ba2870b53610c

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


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Add CHECK_FOR_INTERRUPTS when building pruning steps
Next
From: David Rowley
Date:
Subject: pgsql: Add CHECK_FOR_INTERRUPTS when building pruning steps