Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8c19d14

Browse files
committed
Fix markup, other minor editing for recent btree_gist doc changes.
1 parent 532a4c3 commit 8c19d14

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

doc/src/sgml/btree-gist.sgml

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/btree-gist.sgml,v 1.6 2010/08/02 16:26:48 rhaas Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/btree-gist.sgml,v 1.7 2010/08/03 15:15:31 tgl Exp $ -->
22

33
<sect1 id="btree-gist">
44
<title>btree_gist</title>
@@ -29,10 +29,10 @@
2929

3030
<para>
3131
In addition to the typical btree search operators, btree_gist also
32-
provides search operators for <literal>&lt;&gt;</literal> ("not
33-
equals"). This may be useful in combination with an
34-
<link linkend="SQL-CREATETABLE-EXCLUDE">Exclusion Constraint</link>,
35-
as descibed below.
32+
provides search operators for <literal>&lt;&gt;</literal> (<quote>not
33+
equals</quote>). This may be useful in combination with an
34+
<link linkend="SQL-CREATETABLE-EXCLUDE">exclusion constraint</link>,
35+
as described below.
3636
</para>
3737

3838
<sect2>
@@ -51,26 +51,26 @@ SELECT * FROM test WHERE a &lt; 10;
5151
</programlisting>
5252

5353
<para>
54-
Example using an <link linkend="SQL-CREATETABLE-EXCLUDE">Exclusion
55-
Constraint</link> to enforce the constraint that a cage at a zoo
54+
Use an <link linkend="SQL-CREATETABLE-EXCLUDE">exclusion
55+
constraint</link> to enforce the rule that a cage at a zoo
5656
can contain only one kind of animal:
5757
</para>
5858

5959
<programlisting>
60-
=> CREATE TABLE zoo (
60+
=&gt; CREATE TABLE zoo (
6161
cage INTEGER,
6262
animal TEXT,
63-
EXCLUDE USING gist (cage WITH =, animal WITH <>)
63+
EXCLUDE USING gist (cage WITH =, animal WITH &lt;&gt;)
6464
);
6565

66-
=> INSERT INTO zoo VALUES(123, 'zebra');
66+
=&gt; INSERT INTO zoo VALUES(123, 'zebra');
6767
INSERT 0 1
68-
=> INSERT INTO zoo VALUES(123, 'zebra');
68+
=&gt; INSERT INTO zoo VALUES(123, 'zebra');
6969
INSERT 0 1
70-
=> INSERT INTO zoo VALUES(123, 'lion');
70+
=&gt; INSERT INTO zoo VALUES(123, 'lion');
7171
ERROR: conflicting key value violates exclusion constraint "zoo_cage_animal_excl"
7272
DETAIL: Key (cage, animal)=(123, lion) conflicts with existing key (cage, animal)=(123, zebra).
73-
=> INSERT INTO zoo VALUES(124, 'lion');
73+
=&gt; INSERT INTO zoo VALUES(124, 'lion');
7474
INSERT 0 1
7575
</programlisting>
7676

0 commit comments

Comments
 (0)