Skip to content

Commit 29d9da3

Browse files
committed
doc: Fix some grammar
This is an extraction of the user-visible changes done in 410aa24, including all the relevant documentation parts. Author: Justin Pryzby Discussion: https://postgr.es/m/20220124030001.GQ23027@telsasoft.com Backpatch-through: 10
1 parent 1efcc59 commit 29d9da3

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

doc/src/sgml/config.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8208,8 +8208,8 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
82088208
This parameter specifies the default table access method to use when
82098209
creating tables or materialized views if the <command>CREATE</command>
82108210
command does not explicitly specify an access method, or when
8211-
<command>SELECT ... INTO</command> is used, which does not allow to
8212-
specify a table access method. The default is <literal>heap</literal>.
8211+
<command>SELECT ... INTO</command> is used, which does not allow
8212+
specifying a table access method. The default is <literal>heap</literal>.
82138213
</para>
82148214
</listitem>
82158215
</varlistentry>

doc/src/sgml/ddl.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3986,7 +3986,7 @@ ALTER TABLE measurement ATTACH PARTITION measurement_y2008m02
39863986
holding an <literal>ACCESS EXCLUSIVE</literal> lock on that partition.
39873987
It is recommended to drop the now-redundant <literal>CHECK</literal>
39883988
constraint after the <command>ATTACH PARTITION</command> is complete. If
3989-
the table being attached is itself a partitioned table then each of its
3989+
the table being attached is itself a partitioned table, then each of its
39903990
sub-partitions will be recursively locked and scanned until either a
39913991
suitable <literal>CHECK</literal> constraint is encountered or the leaf
39923992
partitions are reached.
@@ -4001,7 +4001,7 @@ ALTER TABLE measurement ATTACH PARTITION measurement_y2008m02
40014001
the partition being attached. This operation will be performed whilst
40024002
holding an <literal>ACCESS EXCLUSIVE</literal> lock on the <literal>
40034003
DEFAULT</literal> partition. If the <literal>DEFAULT</literal> partition
4004-
is itself a partitioned table then each of its partitions will be
4004+
is itself a partitioned table, then each of its partitions will be
40054005
recursively checked in the same way as the table being attached, as
40064006
mentioned above.
40074007
</para>

doc/src/sgml/perform.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ nd | {"1, 2": 33178, "1, 5": 33178, "2, 5": 27435, "1, 2, 5": 33178}
13371337
<title>Multivariate MCV Lists</title>
13381338

13391339
<para>
1340-
Another type of statistics stored for each column are most-common value
1340+
Another type of statistic stored for each column are most-common value
13411341
lists. This allows very accurate estimates for individual columns, but
13421342
may result in significant misestimates for queries with conditions on
13431343
multiple columns.

doc/src/sgml/protocol.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2078,7 +2078,7 @@ The commands accepted in replication mode are:
20782078
streaming starts on timeline <replaceable class="parameter">tli</replaceable>;
20792079
otherwise, the server's current timeline is selected. The server can
20802080
reply with an error, for example if the requested section of WAL has already
2081-
been recycled. On success, server responds with a CopyBothResponse
2081+
been recycled. On success, the server responds with a CopyBothResponse
20822082
message, and then starts to stream WAL to the frontend.
20832083
</para>
20842084

doc/src/sgml/ref/pg_receivewal.sgml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,16 @@ PostgreSQL documentation
8282
<listitem>
8383
<para>
8484
First, scan the directory where the WAL segment files are written and
85-
find the newest completed segment file, using as starting point the
86-
beginning of the next WAL segment file. This is calculated independently
87-
on the compression method used to compress each segment.
85+
find the newest completed segment file, using as the starting point the
86+
beginning of the next WAL segment file.
8887
</para>
8988
</listitem>
9089

9190
<listitem>
9291
<para>
9392
If a starting point cannot be calculated with the previous method,
9493
the latest WAL flush location is used as reported by the server from
95-
a <literal>IDENTIFY_SYSTEM</literal> command.
94+
an <literal>IDENTIFY_SYSTEM</literal> command.
9695
</para>
9796
</listitem>
9897
</orderedlist>

doc/src/sgml/ref/select_into.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ SELECT [ ALL | DISTINCT [ ON ( <replaceable class="parameter">expression</replac
107107

108108
<para>
109109
In contrast to <command>CREATE TABLE AS</command>, <command>SELECT
110-
INTO</command> does not allow to specify properties like a table's access
110+
INTO</command> does not allow specifying properties like a table's access
111111
method with <xref linkend="sql-createtable-method" /> or the table's
112112
tablespace with <xref linkend="sql-createtable-tablespace" />. Use
113113
<command>CREATE TABLE AS</command> if necessary. Therefore, the default table

0 commit comments

Comments
 (0)