aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-11-23 13:19:20 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-11-23 13:19:20 -0300
commit45ff049e288b0fc7d68195b25ba1a78522e7a45b (patch)
treea7947f67992109f143693850ed388870443a25fc
parent4f66c93f61439b4db866b21cc1ecd5bf815564ef (diff)
downloadpostgresql-45ff049e288b0fc7d68195b25ba1a78522e7a45b.tar.gz
postgresql-45ff049e288b0fc7d68195b25ba1a78522e7a45b.zip
Remove debugging aid
This Assert(false) was not supposed to be in the committed copy. Reported by: Tom Lane Discussion: https://postgr.es/m/26476.1574525468@sss.pgh.pa.us
-rw-r--r--src/backend/utils/error/elog.c2
1 files changed, 0 insertions, 2 deletions
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);