]> granicus.if.org Git - postgresql/commit
Although we can't support out-of-line TOAST storage in indexes (yet),
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 15 Feb 2001 20:57:01 +0000 (20:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 15 Feb 2001 20:57:01 +0000 (20:57 +0000)
commit059e361481641b044fb6265b773d77231496eda5
treead8fec4422ea2e192e7e97266de85a999e40e2e6
parent5341cddba8cefd1a2b219366485fd38529c04724
Although we can't support out-of-line TOAST storage in indexes (yet),
compressed storage works perfectly well.  Might as well have a coherent
strategy for applying it, rather than the haphazard store-what-you-get
approach that was in the code before.  The strategy I've set up here is
to attempt compression of any compressible index value exceeding
BLCKSZ/16, or about 500 bytes by default.
src/backend/access/common/indextuple.c
src/backend/access/heap/tuptoaster.c
src/include/access/tuptoaster.h