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 <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 14 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1480ad3d3473771d401d92b05e78fb02f4191f92 Modified Files -------------- src/backend/partitioning/partprune.c | 2 ++ 1 file changed, 2 insertions(+)
