aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/regexp.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-03-26 20:55:58 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-03-26 20:55:58 +0000
commit90ce397ad64980b214649aa786dde2db3d80e887 (patch)
tree400b0ea4c45417fb21fe4d47bc40e17ea7423dce /src/backend/utils/adt/regexp.c
parentd4f727808f11e93deacecf22ca8d7295cf71c9f2 (diff)
downloadpostgresql-90ce397ad64980b214649aa786dde2db3d80e887.tar.gz
postgresql-90ce397ad64980b214649aa786dde2db3d80e887.zip
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/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions