From: Amit Langote Date: Thu, 17 Jul 2025 05:30:11 +0000 (+0900) Subject: Remove duplicate line X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c6a3d838bae1b8b8a5a3caff8213855b9009ca2;p=thirdparty%2Fpostgresql.git Remove duplicate line In 231b7d670b21, while copy-pasting some code into ExecEvalJsonCoercionFinish(), I (amitlan) accidentally introduced a duplicate line. Remove it. Reported-by: Jian He Discussion: https://postgr.es/m/CACJufxHcf=BpmRAJcjgfjOUfV76MwKnyz1x3ErXsWL26EAFmng@mail.gmail.com --- diff --git a/src/backend/executor/execExprInterp.c b/src/backend/executor/execExprInterp.c index a55ad772566..366975dad68 100644 --- a/src/backend/executor/execExprInterp.c +++ b/src/backend/executor/execExprInterp.c @@ -4672,7 +4672,6 @@ ExecEvalJsonCoercionFinish(ExprState *state, ExprEvalStep *op) * JsonBehavior expression. */ jsestate->escontext.error_occurred = false; - jsestate->escontext.error_occurred = false; jsestate->escontext.details_wanted = true; } }