msrbugzilla(at)gmail(dot)com writes:
> I observed a code clone in the following files. In these functions,
> qry->resultRelation is computed differently but the comment above mentions
> the same functionality. I wonder if this is a bug. Hope it helps.
No, it isn't. You might gain some insight if you read the header
comments for ChangeVarNodes and OffsetVarNodes.
regards, tom lane