Fix markup, other minor editing for recent btree_gist doc changes.
authorTom Lane
Tue, 3 Aug 2010 15:15:31 +0000 (15:15 +0000)
committerTom Lane
Tue, 3 Aug 2010 15:15:31 +0000 (15:15 +0000)
doc/src/sgml/btree-gist.sgml

index d477f23a2e46abc047fdd74ccdd952efef4ed56a..9434318ed38936f0ddf2fa9463bb1aa346375448 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  btree_gist
 
  
   In addition to the typical btree search operators, btree_gist also
-  provides search operators for <> ("not
-  equals"). This may be useful in combination with an
-  Exclusion Constraint,
-  as descibed below.
+  provides search operators for <> (not
+  equals). This may be useful in combination with an
+  exclusion constraint,
+  as described below.
  
 
  
@@ -51,26 +51,26 @@ SELECT * FROM test WHERE a < 10;
 
 
   
-   Example using an Exclusion
-   Constraint to enforce the constraint that a cage at a zoo
+   Use an exclusion
+   constraint to enforce the rule that a cage at a zoo
    can contain only one kind of animal:
   
 
 
-=> CREATE TABLE zoo (
+=> CREATE TABLE zoo (
   cage   INTEGER,
   animal TEXT,
-  EXCLUDE USING gist (cage WITH =, animal WITH <>)
+  EXCLUDE USING gist (cage WITH =, animal WITH <>)
 );
 
-=> INSERT INTO zoo VALUES(123, 'zebra');
+=> INSERT INTO zoo VALUES(123, 'zebra');
 INSERT 0 1
-=> INSERT INTO zoo VALUES(123, 'zebra');
+=> INSERT INTO zoo VALUES(123, 'zebra');
 INSERT 0 1
-=> INSERT INTO zoo VALUES(123, 'lion');
+=> INSERT INTO zoo VALUES(123, 'lion');
 ERROR:  conflicting key value violates exclusion constraint "zoo_cage_animal_excl"
 DETAIL:  Key (cage, animal)=(123, lion) conflicts with existing key (cage, animal)=(123, zebra).
-=> INSERT INTO zoo VALUES(124, 'lion');
+=> INSERT INTO zoo VALUES(124, 'lion');
 INSERT 0 1