From 53e99f57fcfef00cb1a09126d82919b9b1e15af6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 6 Dec 2007 04:12:10 +0000 Subject: Make an editorial pass over the newly SGML-ified contrib documentation. Fix lots of bad markup, bad English, bad explanations. This commit covers only about half the contrib modules, but I grow weary... --- doc/src/sgml/btree-gist.sgml | 55 +++++++++++++++++++++++++++++--------------- 1 file changed, 37 insertions(+), 18 deletions(-) (limited to 'doc/src/sgml/btree-gist.sgml') diff --git a/doc/src/sgml/btree-gist.sgml b/doc/src/sgml/btree-gist.sgml index 59191e23389..04139b0d3be 100644 --- a/doc/src/sgml/btree-gist.sgml +++ b/doc/src/sgml/btree-gist.sgml @@ -1,37 +1,56 @@ + + btree_gist - + btree_gist - 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. + btree_gist provides sample GiST operator classes that + implement B-Tree equivalent behavior for the data types + int2, int4, int8, float4, + float8, numeric, timestamp with time zone, + timestamp without time zone, time with time zone, + time without time zone, date, interval, + oid, money, char, + varchar, text, bytea, bit, + varbit, macaddr, inet, and cidr. + + + + In general, these operator classes will not outperform the equivalent + standard btree index methods, and they lack one major feature of the + standard btree code: the ability to enforce uniqueness. However, + they are useful for GiST testing and as a base for developing other + GiST operator classes. Example usage - - CREATE TABLE test (a int4); - -- create index - CREATE INDEX testidx ON test USING gist (a); - -- query - SELECT * FROM test WHERE a < 10; - + + +CREATE TABLE test (a int4); +-- create index +CREATE INDEX testidx ON test USING gist (a); +-- query +SELECT * FROM test WHERE a < 10; + + - + Authors + - All work was done by Teodor Sigaev (teodor@stack.net) , - Oleg Bartunov (oleg@sai.msu.su), Janko Richter - (jankorichter@yahoo.de). See - for additional - information. + Teodor Sigaev (teodor@stack.net) , + Oleg Bartunov (oleg@sai.msu.su), and + Janko Richter (jankorichter@yahoo.de). See + + for additional information. + -- cgit v1.2.3