pgsql: Add CHECK_FOR_INTERRUPTS when building pruning steps
pgsql: Add CHECK_FOR_INTERRUPTS when building pruning steps
От:
David Rowley <drowley@postgresql.org>
Дата:
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 Discussion: https://postgr.es/m/19692-dacfc57cda5035fc@postgresql.org Backpatch-through: 14 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/2631e08d791d3b504ddc6a4c790520f9878a1642 Modified Files -------------- src/backend/partitioning/partprune.c | 2 ++ 1 file changed, 2 insertions(+)