mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
705 B
32 lines
705 B
![]()
24 years ago
|
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;
|
||
|
|