aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIndexscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-05-31 16:57:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-05-31 16:57:34 +0000
commit10f719af331b0248f532fb1eeee642f93ed981a9 (patch)
treecde09eb1585a3a2e7861517b68a0ac0859d99a09 /src/backend/executor/nodeIndexscan.c
parent7ce9b3683ea76233c33e550110c5a63ecd8add89 (diff)
downloadpostgresql-10f719af331b0248f532fb1eeee642f93ed981a9.tar.gz
postgresql-10f719af331b0248f532fb1eeee642f93ed981a9.zip
Change build_index_pathkeys() so that the expressions it builds to represent
index key columns always have the type expected by the index's associated operators, ie, we add RelabelType nodes when dealing with binary-compatible index opclasses. This is needed to get varchar indexes to play nicely with the new EquivalenceClass machinery, as per recent gripe from Josh Berkus that CVS HEAD was failing to match a varchar index column to a constant restriction in the query. It seems likely that this change will allow removal of a lot of ugly ad-hoc RelabelType-stripping that the planner has traditionally done while matching expressions to other expressions, but I'll worry about that some other day.
Diffstat (limited to 'src/backend/executor/nodeIndexscan.c')
0 files changed, 0 insertions, 0 deletions