duplicate line in ExecEvalJsonCoercionFinish
duplicate line in ExecEvalJsonCoercionFinish
От:
jian he <jian.universality@gmail.com>
Дата:
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
Re: duplicate line in ExecEvalJsonCoercionFinish
От:
Tender Wang <tndrwang@gmail.com>
Дата:
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
Re: duplicate line in ExecEvalJsonCoercionFinish
От:
Richard Guo <guofenglinux@gmail.com>
Дата:
On Thu, Jul 17, 2025 at 9:52 AM Tender Wang wrote: > jian he 于2025年7月17日周四 07:39写道: >> ExecEvalJsonCoercionFinish duplicate line: >> jsestate->escontext.error_occurred = false; >> jsestate->escontext.error_occurred = false; > Good catch. It was introduced by this commit 231b7d670b21. > Add Amit to the cc list. Nice catch! The two duplicate statements were introduced in separate commits; looks like a copy-paste oversight in the later one. Thanks Richard
Re: duplicate line in ExecEvalJsonCoercionFinish
От:
Amit Langote <amitlangote09@gmail.com>
Дата:
On Thu, Jul 17, 2025 at 10:01 AM Richard Guo wrote: > On Thu, Jul 17, 2025 at 9:52 AM Tender Wang wrote: > > jian he 于2025年7月17日周四 07:39写道: > >> ExecEvalJsonCoercionFinish duplicate line: > >> jsestate->escontext.error_occurred = false; > >> jsestate->escontext.error_occurred = false; > > > Good catch. It was introduced by this commit 231b7d670b21. > > Add Amit to the cc list. > > Nice catch! The two duplicate statements were introduced in separate > commits; looks like a copy-paste oversight in the later one. Oops, you're right -- I must have copy-pasted without noticing the duplicate. Thanks Jian for catching that. Will fix. -- Thanks, Amit Langote
Re: duplicate line in ExecEvalJsonCoercionFinish
От:
Amit Langote <amitlangote09@gmail.com>
Дата:
On Thu, Jul 17, 2025 at 12:03 PM Amit Langote wrote: > On Thu, Jul 17, 2025 at 10:01 AM Richard Guo wrote: > > On Thu, Jul 17, 2025 at 9:52 AM Tender Wang wrote: > > > jian he 于2025年7月17日周四 07:39写道: > > >> ExecEvalJsonCoercionFinish duplicate line: > > >> jsestate->escontext.error_occurred = false; > > >> jsestate->escontext.error_occurred = false; > > > > > Good catch. It was introduced by this commit 231b7d670b21. > > > Add Amit to the cc list. > > > > Nice catch! The two duplicate statements were introduced in separate > > commits; looks like a copy-paste oversight in the later one. > > Oops, you're right -- I must have copy-pasted without noticing the > duplicate. Thanks Jian for catching that. Will fix. Done. Thanks all. -- Thanks, Amit Langote