mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-06 20:39:19 +02:00
substituting a child rel's output expressions into the appendrel's restriction clauses yields a pseudoconstant restriction. We might be able to skip scanning that child rel entirely (if we get constant FALSE), or generate a one-time filter. 8.3 more or less accidentally generated plans that weren't completely stupid in these cases, but that was only because an extra recursive level of subquery_planner() always occurred and allowed const-simplification to happen. 8.4's ability to pull up appendrel members with non-Var outputs exposes the fact that we need to work harder here. Per gripe from Sergey Burladyan. |
||
---|---|---|
.. | ||
clauses.c | ||
joininfo.c | ||
Makefile | ||
pathnode.c | ||
placeholder.c | ||
plancat.c | ||
predtest.c | ||
relnode.c | ||
restrictinfo.c | ||
tlist.c | ||
var.c |