aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-01-17 20:09:35 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-01-17 20:09:35 +0000
commitde816a03c4f94b95f4107766b275b3ea4e2ddf80 (patch)
treeb1f932752f057cf19ffa9313ae35700780f377c4 /src/backend/regex/regexec.c
parent0966516b75f792cfa9fd6a53fc370e06cfca6bee (diff)
downloadpostgresql-de816a03c4f94b95f4107766b275b3ea4e2ddf80.tar.gz
postgresql-de816a03c4f94b95f4107766b275b3ea4e2ddf80.zip
Repair misestimation of indexscan CPU costs. When an indexqual contains
a run-time key (that is, a nonconstant expression compared to the index variable), the key is evaluated just once per scan, but we were charging costs as though it were evaluated once per visited index entry.
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions