Rewrite GiST support code for rangetypes.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 80da9e68fdd70b796b3a7de3821589513596c0f7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-03-05T03:50:06Z
Releases: 9.2.0
Rewrite GiST support code for rangetypes.

This patch installs significantly smarter penalty and picksplit functions
for ranges, making GiST indexes for them smaller and faster to search.

There is no on-disk format change, so no catversion bump, but you'd need
to REINDEX to get the benefits for any existing index.

Alexander Korotkov, reviewed by Jeff Davis

Files

PathChange+/−
src/backend/utils/adt/rangetypes_gist.c modified +1102 −191