diff options
Diffstat (limited to 'doc/src/sgml/pgtrgm.sgml')
-rw-r--r-- | doc/src/sgml/pgtrgm.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/pgtrgm.sgml b/doc/src/sgml/pgtrgm.sgml index f66439523a5..9eb2a6742e4 100644 --- a/doc/src/sgml/pgtrgm.sgml +++ b/doc/src/sgml/pgtrgm.sgml @@ -168,11 +168,11 @@ <programlisting> CREATE TABLE test_trgm (t text); -CREATE INDEX trgm_idx ON test_trgm USING gist (t gist_trgm_ops); +CREATE INDEX trgm_idx ON test_trgm USING GIST (t gist_trgm_ops); </programlisting> or <programlisting> -CREATE INDEX trgm_idx ON test_trgm USING gin (t gin_trgm_ops); +CREATE INDEX trgm_idx ON test_trgm USING GIN (t gin_trgm_ops); </programlisting> </para> @@ -274,7 +274,7 @@ CREATE TABLE words AS SELECT word FROM Next, create a trigram index on the word column: <programlisting> -CREATE INDEX words_idx ON words USING gin(word gin_trgm_ops); +CREATE INDEX words_idx ON words USING GIN (word gin_trgm_ops); </programlisting> Now, a <command>SELECT</command> query similar to the previous example can |