aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIndexscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-01-05 23:39:54 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-01-05 23:39:54 +0000
commitfa559a86eec2ae90fd63fd7e6563e42f7dc619e0 (patch)
treea43de4df13060be5df59c38d7b3b9a5e47069e05 /src/backend/executor/nodeIndexscan.c
parent5d472f64647346a44af6ab2ab9ca70cadf9fe788 (diff)
downloadpostgresql-fa559a86eec2ae90fd63fd7e6563e42f7dc619e0.tar.gz
postgresql-fa559a86eec2ae90fd63fd7e6563e42f7dc619e0.zip
Adjust indexscan planning logic to keep RestrictInfo nodes associated
with index qual clauses in the Path representation. This saves a little work during createplan and (probably more importantly) allows reuse of cached selectivity estimates during indexscan planning. Also fix latent bug: wrong plan would have been generated for a 'special operator' used in a nestloop-inner-indexscan join qual, because the special operator would not have gotten into the list of quals to recheck. This bug is only latent because at present the special-operator code could never trigger on a join qual, but sooner or later someone will want to do it.
Diffstat (limited to 'src/backend/executor/nodeIndexscan.c')
0 files changed, 0 insertions, 0 deletions