mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
config
contrib
adddepend
array
btree_gist
data
expected
sql
Makefile
README.btree_gist
btree_bit.c
btree_bytea.c
btree_cash.c
btree_date.c
btree_float4.c
btree_float8.c
btree_gist.c
btree_gist.h
btree_gist.sql.in
btree_inet.c
btree_int2.c
btree_int4.c
btree_int8.c
btree_interval.c
btree_macaddr.c
btree_numeric.c
btree_oid.c
btree_text.c
btree_time.c
btree_ts.c
btree_utils_num.c
btree_utils_num.h
btree_utils_var.c
btree_utils_var.h
chkpass
cube
dbase
dblink
dbmirror
dbsize
earthdistance
findoidjoins
fulltextindex
fuzzystrmatch
intagg
intarray
ipc_check
isbn_issn
lo
ltree
mSQL-interface
mac
miscutil
mysql
noupdate
oid2name
oracle
pg_autovacuum
pg_dumplo
pg_logger
pg_trgm
pg_upgrade
pgbench
pgcrypto
pgstattuple
reindexdb
rserv
rtree_gist
seg
spi
start-scripts
string
tablefunc
tips
tools
tsearch
tsearch2
userlock
vacuumlo
xml
xml2
Makefile
README
contrib-global.mk
doc
src
COPYRIGHT
GNUmakefile.in
Makefile
README
README.CVS
aclocal.m4
configure
configure.in
56 lines
1.6 KiB
Plaintext
56 lines
1.6 KiB
Plaintext
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;
|
|
|