]> granicus.if.org Git - postgresql/commit
Minor tweaking of index special-space definitions so that the various
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Apr 2007 22:04:08 +0000 (22:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 9 Apr 2007 22:04:08 +0000 (22:04 +0000)
commit56218fbc487991ed98358cd8016dc5c4615bed96
tree0840591dffb49c556f0943e1c91b0628c18b4ced
parent485d9ca96ff0ef6ab1e424a4ded3eeb53a9cf3df
Minor tweaking of index special-space definitions so that the various
index types can be reliably distinguished by examining the special space
on an index page.  Per my earlier proposal, plus the realization that
there's no need for btree's vacuum cycle ID to cycle through every possible
16-bit value.  Restricting its range a little costs nearly nothing and
eliminates the possibility of collisions.
Memo to self: remember to make bitmap indexes play along with this scheme,
assuming that patch ever gets accepted.
src/backend/access/gist/gistutil.c
src/backend/access/hash/hashovfl.c
src/backend/access/hash/hashpage.c
src/backend/access/nbtree/nbtutils.c
src/include/access/gin.h
src/include/access/gist.h
src/include/access/hash.h
src/include/access/nbtree.h
src/include/catalog/catversion.h