On Wed, 11 Oct 2023 at 19:54, Zhijie Hou (Fujitsu) <houzj.f...@fujitsu.com> wrote: > The parallel apply worker didn't add null termination to the string received > from the leader apply worker via the shared memory queue. This action doesn't > bring bugs as it's binary data but violates the rule established in > StringInfo, > which guarantees the presence of a terminating '\0' at the end of the string.
Just for anyone not following the other thread that you linked, I just pushed f0efa5aec, and, providing that sticks, I think we can drop this discussion now. That commit relaxes the requirement that the StringInfo must be NUL terminated. David