summaryrefslogtreecommitdiff
path: root/doc/src/sgml/btree-gist.sgml
diff options
context:
space:
mode:
authorBruce Momjian2015-05-15 15:42:29 +0000
committerBruce Momjian2015-05-15 15:42:34 +0000
commitf6d65f0c7068bab6a9ca55a82f18fd52e8fd1e5e (patch)
tree20186a4870aa19b9607430eded4417e7375ad778 /doc/src/sgml/btree-gist.sgml
parent9feaba28e27820f91d13c3de6581bb3b8c3234c6 (diff)
docs: consistently uppercase index method and add spacing
Consistently uppercase index method names, e.g. GIN, and add space after the index method name and the parentheses enclosing the column names.
Diffstat (limited to 'doc/src/sgml/btree-gist.sgml')
-rw-r--r--doc/src/sgml/btree-gist.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/btree-gist.sgml b/doc/src/sgml/btree-gist.sgml
index 2275a997ba2..f4afc095463 100644
--- a/doc/src/sgml/btree-gist.sgml
+++ b/doc/src/sgml/btree-gist.sgml
@@ -61,7 +61,7 @@
<programlisting>
CREATE TABLE test (a int4);
-- create index
-CREATE INDEX testidx ON test USING gist (a);
+CREATE INDEX testidx ON test USING GIST (a);
-- query
SELECT * FROM test WHERE a &lt; 10;
-- nearest-neighbor search: find the ten entries closest to "42"
@@ -78,7 +78,7 @@ SELECT *, a &lt;-&gt; 42 AS dist FROM test ORDER BY a &lt;-&gt; 42 LIMIT 10;
=&gt; CREATE TABLE zoo (
cage INTEGER,
animal TEXT,
- EXCLUDE USING gist (cage WITH =, animal WITH &lt;&gt;)
+ EXCLUDE USING GIST (cage WITH =, animal WITH &lt;&gt;)
);
=&gt; INSERT INTO zoo VALUES(123, 'zebra');