Re: BUG #6693: Potential Bug in rewriteManip.c - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #6693: Potential Bug in rewriteManip.c
Date
Msg-id 20977.1339864491@sss.pgh.pa.us
Whole thread Raw
In response to BUG #6693: Potential Bug in rewriteManip.c  (msrbugzilla@gmail.com)
List pgsql-bugs
msrbugzilla@gmail.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #6692: Potential Bug in equalfuncs.c
Next
From: weixing.sun@gmail.com
Date:
Subject: BUG #6696: 9.2beta2 crashed when having shared_buffers>20GB