From ecbd6ce47eab0edad84f32533a289a2d6c9d8a8e Mon Sep 17 00:00:00 2001 From: Ivan Kush Date: Wed, 28 Jan 2026 10:37:08 +0000 Subject: [PATCH 1/2] fix CHECK_STACK_DEPTH call --- pg_qualstats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg_qualstats.c b/pg_qualstats.c index 24a8b96..68e3eb5 100644 --- a/pg_qualstats.c +++ b/pg_qualstats.c @@ -2395,7 +2395,7 @@ pgqs_resolve_var(Var *var, pgqsWalkerContext *context) * This function can recurse, so this can prevent infinite loop in case of * any problem. */ - CHECK_FOR_INTERRUPTS(); + CHECK_STACK_DEPTH(); #if PG_VERSION_NUM >= 140000 /* ROWID_VAR is only used during planning, so we shouldn't see it. */ From 4e7e6cc31ed65fdcc4ffe80e1394664f3bb4d0ad Mon Sep 17 00:00:00 2001 From: Ivan Kush Date: Wed, 28 Jan 2026 10:41:10 +0000 Subject: [PATCH 2/2] lowercase --- pg_qualstats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg_qualstats.c b/pg_qualstats.c index 68e3eb5..490dd6c 100644 --- a/pg_qualstats.c +++ b/pg_qualstats.c @@ -2395,7 +2395,7 @@ pgqs_resolve_var(Var *var, pgqsWalkerContext *context) * This function can recurse, so this can prevent infinite loop in case of * any problem. */ - CHECK_STACK_DEPTH(); + check_stack_depth(); #if PG_VERSION_NUM >= 140000 /* ROWID_VAR is only used during planning, so we shouldn't see it. */