diff options
author | Bruce Momjian | 2015-05-15 15:42:29 +0000 |
---|---|---|
committer | Bruce Momjian | 2015-05-15 15:42:34 +0000 |
commit | f6d65f0c7068bab6a9ca55a82f18fd52e8fd1e5e (patch) | |
tree | 20186a4870aa19b9607430eded4417e7375ad778 /doc/src/sgml/btree-gist.sgml | |
parent | 9feaba28e27820f91d13c3de6581bb3b8c3234c6 (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.sgml | 4 |
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 < 10; -- nearest-neighbor search: find the ten entries closest to "42" @@ -78,7 +78,7 @@ SELECT *, a <-> 42 AS dist FROM test ORDER BY a <-> 42 LIMIT 10; => 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'); |