]> granicus.if.org Git - postgresql/commit
pull_up_subqueries() should copy the subquery before starting to modify
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Oct 2003 23:48:16 +0000 (23:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Oct 2003 23:48:16 +0000 (23:48 +0000)
commitd18ba3f452f64af521f4a433a9cef51cb308c69d
tree4f3d48832c642ff9e3d81f56bb50993cc6b77564
parent4a39057e590cc5ba7583516ceeef52a242867cad
pull_up_subqueries() should copy the subquery before starting to modify
it.  Not sure why I'd thought it would be a good idea to do differently
way back when, but Greg Stark exposed the folly of doing so ...
src/backend/optimizer/prep/prepjointree.c