Re: Minmax indexes
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: David Fetter <david@fetter.org>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>,
Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2013-09-30T16:49:07Z
Lists: pgsql-hackers
David Fetter wrote: > On Mon, Sep 30, 2013 at 02:17:39PM +0300, Heikki Linnakangas wrote: > > What would it take to abstract the minmax indexes to allow maintaing > > a bounding box for points, instead of a plain min/max? Or for > > ranges. In other words, why is this restricted to b-tree operators? > > If I had to guess, I'd guess, "first cut." Yeah, there were a few other simplifications in the design too, though I admit allowing for multidimensional dataypes hadn't occured to me (though I will guess Simon did think about it and just didn't tell me to avoid me going overboard with stuff that would make the first version take forever). I think we'd better add version numbers and stuff to the metapage to allow for extensions and proper upgradability. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Refactor per-page logic common to all redo routines to a new function.
- f8f4227976a2 9.5.0 cited
-
Reduce use of heavyweight locking inside hash AM.
- 76837c1507cb 9.3.0 cited
-
Scan the buffer pool just once, not once per fork, during relation drop.
- ece01aae4792 9.2.0 cited
-
Major patch from Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
- 9e2a87b62db8 7.1.1 cited