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.
 
 
 
 
 
 
postgres/contrib/btree_gist
Bruce Momjian 15d3f9f6b7 Another pgindent run with lib typedefs added. 21 years ago
..
data New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST 21 years ago
expected New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST 21 years ago
sql New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST 21 years ago
Makefile > Please find enclose a submission to fix these problems. 21 years ago
README.btree_gist New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST 21 years ago
btree_bit.c Pgindent run for 8.0. 21 years ago
btree_bytea.c Pgindent run for 8.0. 21 years ago
btree_cash.c Pgindent run for 8.0. 21 years ago
btree_date.c Pgindent run for 8.0. 21 years ago
btree_float4.c Pgindent run for 8.0. 21 years ago
btree_float8.c Pgindent run for 8.0. 21 years ago
btree_gist.c Pgindent run for 8.0. 21 years ago
btree_gist.h Pgindent run for 8.0. 21 years ago
btree_gist.sql.in - Add aligment of variable data types 21 years ago
btree_inet.c Pgindent run for 8.0. 21 years ago
btree_int2.c Pgindent run for 8.0. 21 years ago
btree_int4.c Pgindent run for 8.0. 21 years ago
btree_int8.c Pgindent run for 8.0. 21 years ago
btree_interval.c Pgindent run for 8.0. 21 years ago
btree_macaddr.c Pgindent run for 8.0. 21 years ago
btree_numeric.c Pgindent run for 8.0. 21 years ago
btree_oid.c Pgindent run for 8.0. 21 years ago
btree_text.c Pgindent run for 8.0. 21 years ago
btree_time.c Pgindent run for 8.0. 21 years ago
btree_ts.c Pgindent run for 8.0. 21 years ago
btree_utils_num.c Pgindent run for 8.0. 21 years ago
btree_utils_num.h Pgindent run for 8.0. 21 years ago
btree_utils_var.c Another pgindent run with lib typedefs added. 21 years ago
btree_utils_var.h Pgindent run for 8.0. 21 years ago

README.btree_gist

This is B-Tree implementation using GiST for int2, int4, int8, float4, float8
timestamp with/without time zone, time with/without time zone, date,
interval, oid, money and macaddr, char, varchar/text, bytea, numeric,
bit, varbit, inet/cidr types.

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

NEWS:

Apr 17, 2004 - Performance optimizing

Jan 21, 2004 - add support for bytea, numeric, bit, varbit, inet/cidr

Jan 17, 2004 - Reorganizing code and add support for char, varchar/text

Jan 10, 2004 - btree_gist now support oid , timestamp with time zone ,
time with and without time zone, date , interval
money, macaddr

Feb 5, 2003 - btree_gist now support int2, int8, float4, float8

NOTICE:
This version will works only with postgresql version 7.4 and above
because of changes in interface of function calling and in system
tables.

If you want to index varchar attributes, you have to index using
the function text(<varchar>):
Example:
CREATE TABLE test ( a varchar(23) );
CREATE INDEX testidx ON test USING GIST ( text(a) );


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;