summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_index.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/ref/create_index.sgml')
-rw-r--r--doc/src/sgml/ref/create_index.sgml14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/src/sgml/ref/create_index.sgml b/doc/src/sgml/ref/create_index.sgml
index b9c679c41e8..bb7505d171b 100644
--- a/doc/src/sgml/ref/create_index.sgml
+++ b/doc/src/sgml/ref/create_index.sgml
@@ -898,17 +898,17 @@ Indexes:
<title>Examples</title>
<para>
- To create a unique B-tree index on the column <literal>title</literal> in
- the table <literal>films</literal>:
+ To create a unique B-tree index on the column <structfield>title</structfield> in
+ the table <structname>films</structname>:
<programlisting>
CREATE UNIQUE INDEX title_idx ON films (title);
</programlisting>
</para>
<para>
- To create a unique B-tree index on the column <literal>title</literal>
- with included columns <literal>director</literal>
- and <literal>rating</literal> in the table <literal>films</literal>:
+ To create a unique B-tree index on the column <structfield>title</structfield>
+ with included columns <structfield>director</structfield>
+ and <structfield>rating</structfield> in the table <structname>films</structname>:
<programlisting>
CREATE UNIQUE INDEX title_idx ON films (title) INCLUDE (director, rating);
</programlisting>
@@ -960,8 +960,8 @@ CREATE INDEX gin_idx ON documents_table USING GIN (locations) WITH (fastupdate =
</para>
<para>
- To create an index on the column <literal>code</literal> in the table
- <literal>films</literal> and have the index reside in the tablespace
+ To create an index on the column <structfield>code</structfield> in the table
+ <structname>films</structname> and have the index reside in the tablespace
<literal>indexspace</literal>:
<programlisting>
CREATE INDEX code_idx ON films (code) TABLESPACE indexspace;