> On Feb 24, 2026, at 23:41, Fujii Masao <[email protected]> wrote:
> 
> On Tue, Feb 24, 2026 at 4:31 PM ji xu <[email protected]> wrote:
>> 
>> 
>> Chao Li <[email protected]> 于2026年2月24日周二 14:29写道:
>>> 
>>> Since this function is clearly operating on the parameter proc, the only 
>>> statement that touches MyProc looks suspicious. It should reset 
>>> proc->waitStart, not MyProc->waitStart.
>>> 
>>> As written, it will incorrectly clear the caller’s waitStart instead of the 
>>> awakened backend’s, potentially leaving a stale waitStart value in the 
>>> target PGPROC.
> 
> Thanks for the report!
> 

I just realized that I forgot to attach the patch file. Anyway, that’s just a 
one-line change.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/




Attachment: v1-0001-Fix-bug-of-clearing-of-waitStart-in-ProcWakeup.patch
Description: Binary data

Reply via email to