Skip to content

Commit 35893cc

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 d67354d commit 35893cc

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
@@ -7953,8 +7953,8 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
79537953
This parameter specifies the default table access method to use when
79547954
creating tables or materialized views if the <command>CREATE</command>
79557955
command does not explicitly specify an access method, or when
7956-
<command>SELECT ... INTO</command> is used, which does not allow to
7957-
specify a table access method. The default is <literal>heap</literal>.
7956+
<command>SELECT ... INTO</command> is used, which does not allow
7957+
specifying a table access method. The default is <literal>heap</literal>.
79587958
</para>
79597959
</listitem>
79607960
</varlistentry>

doc/src/sgml/ddl.sgml

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

doc/src/sgml/perform.sgml

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

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

doc/src/sgml/protocol.sgml

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

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 <xref
113113
linkend="sql-createtableas"/> if necessary. Therefore, the default table

0 commit comments

Comments
 (0)