OSDN Git Service

Fix longstanding bug with VIEW using BETWEEN: OffsetVarNodes would get
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Dec 2000 17:36:15 +0000 (17:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Dec 2000 17:36:15 +0000 (17:36 +0000)
commit0e952cdb9029cf6f8a574f4d888cbb134e646d0e
tree92cbb0612862b96eb8bc77b9f017872e077f4cd2
parent4408f04208d31c69ea29ddf818f29b144952adbe
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.
src/backend/commands/view.c