Commit 59d0bf9
committed
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.1 parent 788bce1 commit 59d0bf9
File tree
5 files changed
+667
-14
lines changed- src
- backend/utils/adt
- include/catalog
5 files changed
+667
-14
lines changed
0 commit comments