diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-01-17 20:09:35 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-01-17 20:09:35 +0000 |
commit | de816a03c4f94b95f4107766b275b3ea4e2ddf80 (patch) | |
tree | b1f932752f057cf19ffa9313ae35700780f377c4 /src/backend/access/gist/gistscan.c | |
parent | 0966516b75f792cfa9fd6a53fc370e06cfca6bee (diff) | |
download | postgresql-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/access/gist/gistscan.c')
0 files changed, 0 insertions, 0 deletions