From: Kyotaro Horiguchi <horikyota....@gmail.com> > Using (inCursor - inStart) as logCursor doesn't work correctly if tracing > state > desyncs. Once desync happens inStart can be moved at the timing that the > tracing code doesn't expect. This requires (as I mentioned upthread) > pqReadData to actively reset logCursor, though. > > logCursor should move when bytes are fed to the tracing functoins even when > theyare the last bytes of a message.
Hmm, sharp and nice insight. I'd like Iwata-san and Kirk to consider this, including Horiguchi-san's previous mails. Regards Takayuki Tsunakawa