aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/btree-gist.sgml
blob: 59191e233897ada538e37dacac11ea5958752897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<sect1 id="btree-gist">
 <title>btree_gist</title>
 
 <indexterm zone="btree-gist">
  <primary>btree_gist</primary>
 </indexterm>

 <para>
  btree_gist is a B-Tree implementation using GiST that supports the int2, int4,
  int8, float4, float8 timestamp with/without time zone, time
  with/without time zone, date, interval, oid, money, macaddr, char,
  varchar/text, bytea, numeric, bit, varbit and inet/cidr types.
 </para>

 <sect2>
  <title>Example usage</title>
  <programlisting>
   CREATE TABLE test (a int4);
   -- create index
   CREATE INDEX testidx ON test USING gist (a);
   -- query
   SELECT * FROM test WHERE a &lt; 10;
  </programlisting>
 </sect2>
 
 <sect2>
  <title>Authors</title>
  <para>
   All work was done by Teodor Sigaev (<email>teodor@stack.net</email>) , 
   Oleg Bartunov (<email>oleg@sai.msu.su</email>), Janko Richter 
   (<email>jankorichter@yahoo.de</email>).  See 
   <ulink url="http://www.sai.msu.su/~megera/postgres/gist"></ulink> for additional 
   information.
  </para>
 </sect2>

</sect1>