David Rowley <dgrowle...@gmail.com> writes: > Yeah, before the revert, that did: > - sjinf->syn_lefthand = replace_relid(sjinf->syn_lefthand, relid, > subst); > That replace code seems to have always done a bms_copy()
Hmm, not always; see e0477837c. What I'm trying to figure out here is whether we have a live bug in this area in released branches; and if so, why we've not seen reports of that. regards, tom lane