diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-03-14 15:36:56 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-03-14 15:36:56 +0200 |
commit | 59d0bf9dca58b237902c2fd1507e8bc5d54d4a63 (patch) | |
tree | 0dd4fae4c70714395710a1817a0f23a37903a877 /src/backend/optimizer/plan/createplan.c | |
parent | 788bce13d3249ddbcdf3443ee078145f4888ab45 (diff) | |
download | postgresql-59d0bf9dca58b237902c2fd1507e8bc5d54d4a63.tar.gz postgresql-59d0bf9dca58b237902c2fd1507e8bc5d54d4a63.zip |
Add cost estimation of range @> and <@ operators.
The estimates are based on the existing lower bound histogram, and a new
histogram of range lengths.
Bump catversion, because the range length histogram now needs to be present
in statistic slot kind 6, or you get an error on @> and <@ queries. (A
re-ANALYZE would be enough to fix that, though)
Alexander Korotkov, with some refactoring by me.
Diffstat (limited to 'src/backend/optimizer/plan/createplan.c')
0 files changed, 0 insertions, 0 deletions