mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
New contrib module for BTREE emulation in GiST.
From Oleg Bartunov and Teodor Sigaev.
This commit is contained in:
31
contrib/btree_gist/README.btree_gist
Normal file
31
contrib/btree_gist/README.btree_gist
Normal file
@ -0,0 +1,31 @@
|
||||
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;
|
||||
|
Reference in New Issue
Block a user