Fix longstanding bug with VIEW using BETWEEN: OffsetVarNodes would get
Tom Lane <tgl@sss.pgh.pa.us>
Fix longstanding bug with VIEW using BETWEEN: OffsetVarNodes would get applied to the duplicated subtree twice. Probably someday we should fix the parser not to generate multiple links to the same subtree, but for now a quick copyObject() is the path of least resistance.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/view.c | modified | +29 −28 |