postgresql/contrib/btree_gist
Teodor Sigaev f2c064afcb Cleanup vectors of GISTENTRY and eliminate problem with 64-bit strict-aligned
boxes. Change interface to user-defined GiST support methods union and
picksplit. Now instead of bytea struct it used special GistEntryVector
structure.
2004-03-30 15:45:33 +00:00
..
data New contrib module for BTREE emulation in GiST. 2001-08-22 18:27:54 +00:00
expected Update contrib regression tests for recent error message editing. 2003-08-01 02:38:09 +00:00
sql We just released new version of contrib/btree_gist 2003-02-19 03:46:00 +00:00
Makefile please apply attached patch to current CVS. 2003-03-20 18:59:18 +00:00
README.btree_gist please apply attached patch to current CVS. 2003-03-20 18:59:18 +00:00
btree_common.c Cleanup vectors of GISTENTRY and eliminate problem with 64-bit strict-aligned 2004-03-30 15:45:33 +00:00
btree_gist.h Cleanup vectors of GISTENTRY and eliminate problem with 64-bit strict-aligned 2004-03-30 15:45:33 +00:00
btree_gist.sql.in Cleanup vectors of GISTENTRY and eliminate problem with 64-bit strict-aligned 2004-03-30 15:45:33 +00:00
btree_num.c.in Cleanup vectors of GISTENTRY and eliminate problem with 64-bit strict-aligned 2004-03-30 15:45:33 +00:00
btree_ts.c Cleanup vectors of GISTENTRY and eliminate problem with 64-bit strict-aligned 2004-03-30 15:45:33 +00:00

README.btree_gist

This is B-Tree implementation using GiST for int2, int4, int8, float4, float8
timestamp types.

All work was done by Teodor Sigaev (teodor@stack.net) and Oleg Bartunov
(oleg@sai.msu.su). See http://www.sai.msu.su/~megera/postgres/gist
for additional information.

NEWS:
     Feb 5, 2003 - btree_gist now support int2, int8, float4, float8 !
                   Thank Janko Richter <jankorichter@yahoo.de> for
                   contribution.
     
NOTICE:
     This version will works only with postgresql version 7.3 and above
     because of changes in interface of function calling and in system
     tables.

INSTALLATION:

  gmake
  gmake install
  -- load functions
  psql <database> < btree_gist.sql

REGRESSION TEST:

   gmake installcheck

EXAMPLE USAGE:

   create table test (a int4);
   -- create index
   create index testidx on test using gist (a);
   -- query
   select * from test where a < 10;