Add cost estimation of range @> and <@ operators.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 59d0bf9dca58b237902c2fd1507e8bc5d54d4a63
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2013-03-14T13:36:56Z
Releases: 9.3.0
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.

Files