2003-03-21 02:59:18 +08:00
|
|
|
This is B-Tree implementation using GiST for int2, int4, int8, float4, float8
|
2001-08-23 02:27:54 +08:00
|
|
|
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.
|
|
|
|
|
2003-02-19 11:46:00 +08:00
|
|
|
NEWS:
|
2003-03-21 02:59:18 +08:00
|
|
|
Feb 5, 2003 - btree_gist now support int2, int8, float4, float8 !
|
2003-02-19 11:46:00 +08:00
|
|
|
Thank Janko Richter <jankorichter@yahoo.de> for
|
|
|
|
contribution.
|
|
|
|
|
2001-08-23 02:27:54 +08:00
|
|
|
NOTICE:
|
2003-02-19 11:46:00 +08:00
|
|
|
This version will works only with postgresql version 7.3 and above
|
2001-08-23 02:27:54 +08:00
|
|
|
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;
|
|
|
|
|