Re: duplicate line in ExecEvalJsonCoercionFinish

Tender Wang <tndrwang@gmail.com>

From: Tender Wang <tndrwang@gmail.com>
To: jian he <jian.universality@gmail.com>, Amit Langote <amitlangote09@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2025-07-17T00:51:44Z
Lists: pgsql-hackers
jian he <jian.universality@gmail.com> 于2025年7月17日周四 07:39写道:

> hi.
>
> ExecEvalJsonCoercionFinish duplicate line:
>         jsestate->escontext.error_occurred = false;
>         jsestate->escontext.error_occurred = false;
>
>
> https://git.postgresql.org/cgit/postgresql.git/tree/src/backend/executor/execExprInterp.c#n5230


Good catch.  It was introduced by this commit 231b7d670b21.
Add Amit to the cc list.

-- 
Thanks,
Tender Wang

Commits

  1. Remove duplicate line

  2. SQL/JSON: Improve error-handling of JsonBehavior expressions