summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-03-26 20:55:39 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-03-26 20:55:39 +0000
commit9d388e1f3980a9d960c2f7c500f9c13a35c48d88 (patch)
tree290284894684176438f4802dd8bd5c0eb6e24733 /src/backend/access/gist/gistget.c
parentbb34970f91834b63b3fed44118f1996e5a062470 (diff)
downloadpostgresql-9d388e1f3980a9d960c2f7c500f9c13a35c48d88.tar.gz
Fix a pair of related issues with estimation of inequalities that involve
binary-compatible relabeling of one or both operands. examine_variable should avoid stripping RelabelType from non-variable expressions, so that they will continue to have the correct type; and convert_to_scalar should just use that type and ignore the other input type. This isn't perfect but it beats failing entirely. Per example from Michael Fuhr.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions