]> granicus.if.org Git - postgresql/commit
Add optional compression method to SP-GiST
authorTeodor Sigaev <teodor@sigaev.ru>
Fri, 22 Dec 2017 10:33:16 +0000 (13:33 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Fri, 22 Dec 2017 10:33:16 +0000 (13:33 +0300)
commit854823fa334cb826eed50da751801d0693b10173
tree437b74de241ede698bc1f9734f40829ee648b93e
parent9373baa0f764392c504df034afd2f6b178c29491
Add optional compression method to SP-GiST

Patch allows to have different types of column and value stored in leaf tuples
of SP-GiST. The main application of feature is to transform complex column type
to simple indexed type or for truncating too long value, transformation could
be lossy.  Simple example: polygons are converted to their bounding boxes,
this opclass follows.

Authors: me, Heikki Linnakangas, Alexander Korotkov, Nikita Glukhov
Reviewed-By: all authors + Darafei Praliaskouski
Discussions:
https://www.postgresql.org/message-id/5447B3FF.2080406@sigaev.ru
https://www.postgresql.org/message-id/flat/54907069.1030506@sigaev.ru#54907069.1030506@sigaev.ru
doc/src/sgml/spgist.sgml
src/backend/access/spgist/spgdoinsert.c
src/backend/access/spgist/spgscan.c
src/backend/access/spgist/spgutils.c
src/backend/access/spgist/spgvalidate.c
src/include/access/spgist.h
src/include/access/spgist_private.h