postgresql/contrib/btree_gist
Bruce Momjian ee85595d46 > Please find enclose a submission to fix these problems.
>
> The patch adds missing the "libpgport.a" file to the installation under
> "install-all-headers". It is needed by some contribs. I install the
> library in "pkglibdir", but I was wondering whether it should be "libdir"?
> I was wondering also whether it would make sense to have a "libpgport.so"?
>
> It fixes various macros which are used by contrib makefiles, especially
> libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are
> needed to
>
> It adds the ability to test and use PGXS with contribs, with "make
> USE_PGXS=1". Without the macro, this is exactly as before, there should be
> no difference, esp. wrt the vpath feature that seemed broken by previous
> submission. So it should not harm anybody, and it is useful at least to me.
>
> It fixes some inconsistencies in various contrib makefiles
> (useless override, ":=" instead of "=").

Fabien COELHO
2004-08-20 20:13:10 +00:00
..
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 2004-05-28 10:43:32 +00:00
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 2004-05-28 10:43:32 +00:00
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 2004-05-28 10:43:32 +00:00
btree_bit.c 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 2004-05-28 10:43:32 +00:00
btree_bytea.c 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 2004-05-28 10:43:32 +00:00
btree_cash.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_date.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_float4.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_float8.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_gist.c 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 2004-05-28 10:43:32 +00:00
btree_gist.h 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 2004-05-28 10:43:32 +00:00
btree_gist.sql.in - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_inet.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_int2.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_int4.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_int8.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_interval.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_macaddr.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_numeric.c 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 2004-05-28 10:43:32 +00:00
btree_oid.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_text.c 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 2004-05-28 10:43:32 +00:00
btree_time.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_ts.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_utils_num.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_utils_num.h - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_utils_var.c - Add aligment of variable data types 2004-06-03 12:26:10 +00:00
btree_utils_var.h 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 2004-05-28 10:43:32 +00:00
Makefile > Please find enclose a submission to fix these problems. 2004-08-20 20:13:10 +00:00
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 2004-05-28 10:43:32 +00:00

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;