]> granicus.if.org Git - postgresql/commit
Suppress subquery pullup and pushdown when the subquery has any
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Dec 2001 22:54:12 +0000 (22:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Dec 2001 22:54:12 +0000 (22:54 +0000)
commit63cc56de54049e9e2c16dde182fb93c09298af3b
treeb8a4a4587605e7b7c6d1723c4dd0f1df0facd7a2
parent584f818bef68450d23d1b75afbaf19febe38fd37
Suppress subquery pullup and pushdown when the subquery has any
set-returning functions in its target list.  This ensures that we
won't rewrite the query in a way that places set-returning functions
into quals (WHERE clauses).  Cf. bug reports from Joe Conway.
src/backend/optimizer/path/allpaths.c
src/backend/optimizer/plan/planner.c
src/backend/optimizer/util/clauses.c
src/include/optimizer/clauses.h