postgres/contrib/btree_gist
Peter Eisentraut 17cc78ef01 To fix the perpetually broken makefiles in the contrib tree, I have
written a generic framework of rules that the contrib makefiles can
use instead of writing their own each time.  You only need to set a few
variables and off you go.
2001-09-06 10:49:30 +00:00
..
data New contrib module for BTREE emulation in GiST. 2001-08-22 18:27:54 +00:00
expected New contrib module for BTREE emulation in GiST. 2001-08-22 18:27:54 +00:00
sql New contrib module for BTREE emulation in GiST. 2001-08-22 18:27:54 +00:00
btree_gist.c tskey_cmp() should use timestamp_cmp() instead of doing its own 2001-08-23 15:07:41 +00:00
btree_gist.sql.in New contrib module for BTREE emulation in GiST. 2001-08-22 18:27:54 +00:00
Makefile To fix the perpetually broken makefiles in the contrib tree, I have 2001-09-06 10:49:30 +00:00
README.btree_gist New contrib module for BTREE emulation in GiST. 2001-08-22 18:27:54 +00:00

This is B-Tree implementation using GiST for int4 and 
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.

NOTICE:
     This version will works only with postgresql version 7.2 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;