Make generate_queries_for_path_pattern_recurse() interruptible In case of a very long path pattern with each element pattern being resolved to many graph elements generate_queries_for_path_pattern_recurse() may take very long time to generate all the possible graph paths. Make generate_queries_for_path_pattern_recurse() interruptible so that a user may be able to cancel such a query if required and the interrupts are processed in timely manner.
Author: Satyanarayana Narlapuram <[email protected]> Reviewed-by: Ashutosh Bapat <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/CAHg%2BQDfDwcM4%3DDSiAV6Ly89YQ5EcMhzO1-9x%3DmGG1WJzODcAig%40mail.gmail.com Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/41a300ae3df5015d0779728ee0b4adb866953d31 Modified Files -------------- src/backend/rewrite/rewriteGraphTable.c | 2 ++ 1 file changed, 2 insertions(+)
