Alexander Lakhin <exclusion(at)gmail(dot)com> writes:
> I'm not sure it's directly related to this bug report, but maybe you'd
> like to fix one more memory-safety defect in tsearch in passing...
Hmph. Not sure I'd call that "memory safety", but yeah, this bit
isn't being careful about having a valid intermediate state of the
data structure. Thanks for the report!
regards, tom lane