diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c index 9ef4bc24727..f46653632ef 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -846,8 +846,6 @@ errbacktrace(void) ErrorData *edata = &errordata[errordata_stack_depth]; MemoryContext oldcontext; - Assert(false); - recursion_depth++; CHECK_STACK_DEPTH(); oldcontext = MemoryContextSwitchTo(edata->assoc_context);