summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-10-13 16:42:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-10-13 16:43:10 -0400
commit4d00ee4b4ac2c17e32633d3c305041f5e6570bea (patch)
tree15a1873406f86ebfc7d9961fa01dcf8f90ce0d6f
parenta31af2551fed8cb7d2d52f3dbe6c6e0d21a1c57c (diff)
Doc: copy-editing for CREATE INDEX reference page.
Justin Pryzby, Jonathan S. Katz, and myself. Discussion: https://postgr.es/m/20181006134249.GD871@telsasoft.com
-rw-r--r--doc/src/sgml/ref/create_index.sgml24
1 files changed, 13 insertions, 11 deletions
diff --git a/doc/src/sgml/ref/create_index.sgml b/doc/src/sgml/ref/create_index.sgml
index 3c1223b3243..4df3d756de7 100644
--- a/doc/src/sgml/ref/create_index.sgml
+++ b/doc/src/sgml/ref/create_index.sgml
@@ -612,11 +612,12 @@ Indexes:
<para>
Regular index builds permit other regular index builds on the
- same table to occur in parallel, but only one concurrent index build
- can occur on a table at a time. In both cases, no other types of schema
- modification on the table are allowed meanwhile. Another difference
- is that a regular <command>CREATE INDEX</command> command can be performed within
- a transaction block, but <command>CREATE INDEX CONCURRENTLY</command> cannot.
+ same table to occur simultaneously, but only one concurrent index build
+ can occur on a table at a time. In either case, schema modification of the
+ table is not allowed while the index is being built. Another difference is
+ that a regular <command>CREATE INDEX</command> command can be performed
+ within a transaction block, but <command>CREATE INDEX CONCURRENTLY</command>
+ cannot.
</para>
</refsect2>
</refsect1>
@@ -650,7 +651,7 @@ Indexes:
ordering. For example, we might want to sort a complex-number data
type either by absolute value or by real part. We could do this by
defining two operator classes for the data type and then selecting
- the proper class when making an index. More information about
+ the proper class when creating an index. More information about
operator classes is in <xref linkend="indexes-opclass"/> and in <xref
linkend="xindex"/>.
</para>
@@ -668,12 +669,13 @@ Indexes:
will be determined as if no index name had been specified in the
command.
If the <literal>ONLY</literal> option is specified, no recursion
- is done, and the index is marked invalid
- (<command>ALTER INDEX ... ATTACH PARTITION</command> turns the index
- valid, once all partitions acquire the index.) Note, however, that
- any partition that is created in the future using
+ is done, and the index is marked invalid.
+ (<command>ALTER INDEX ... ATTACH PARTITION</command> marks the index
+ valid, once all partitions acquire matching indexes.) Note, however,
+ that any partition that is created in the future using
<command>CREATE TABLE ... PARTITION OF</command> will automatically
- contain the index regardless of whether this option was specified.
+ have a matching index, regardless of whether <literal>ONLY</literal> is
+ specified.
</para>
<para>