mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	(7.3 and current CVS) with support of int8, float4, float8 in addition to int4. Thanks Janko Richter for contribution. Oleg Bartunov
		
			
				
	
	
		
			37 lines
		
	
	
		
			899 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			899 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
This is B-Tree implementation using GiST for int4, int8, float4, float8
 | 
						|
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.
 | 
						|
 | 
						|
NEWS:
 | 
						|
     Feb 5, 2003 - btree_gist now support int8, float4, float8 !
 | 
						|
                   Thank Janko Richter <jankorichter@yahoo.de> for
 | 
						|
                   contribution.
 | 
						|
     
 | 
						|
NOTICE:
 | 
						|
     This version will works only with postgresql version 7.3 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;
 | 
						|
 |