Skip to content

Commit fcc4340

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 689f75d commit fcc4340

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
@@ -7577,8 +7577,8 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
75777577
This parameter specifies the default table access method to use when
75787578
creating tables or materialized views if the <command>CREATE</command>
75797579
command does not explicitly specify an access method, or when
7580-
<command>SELECT ... INTO</command> is used, which does not allow to
7581-
specify a table access method. The default is <literal>heap</literal>.
7580+
<command>SELECT ... INTO</command> is used, which does not allow
7581+
specifying a table access method. The default is <literal>heap</literal>.
75827582
</para>
75837583
</listitem>
75847584
</varlistentry>

doc/src/sgml/ddl.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3978,7 +3978,7 @@ ALTER TABLE measurement ATTACH PARTITION measurement_y2008m02
39783978
holding an <literal>ACCESS EXCLUSIVE</literal> lock on that partition.
39793979
It is recommended to drop the now-redundant <literal>CHECK</literal>
39803980
constraint after the <command>ATTACH PARTITION</command> is complete. If
3981-
the table being attached is itself a partitioned table then each of its
3981+
the table being attached is itself a partitioned table, then each of its
39823982
sub-partitions will be recursively locked and scanned until either a
39833983
suitable <literal>CHECK</literal> constraint is encountered or the leaf
39843984
partitions are reached.
@@ -3993,7 +3993,7 @@ ALTER TABLE measurement ATTACH PARTITION measurement_y2008m02
39933993
the partition being attached. This operation will be performed whilst
39943994
holding an <literal>ACCESS EXCLUSIVE</literal> lock on the <literal>
39953995
DEFAULT</literal> partition. If the <literal>DEFAULT</literal> partition
3996-
is itself a partitioned table then each of its partitions will be
3996+
is itself a partitioned table, then each of its partitions will be
39973997
recursively checked in the same way as the table being attached, as
39983998
mentioned above.
39993999
</para>

doc/src/sgml/perform.sgml

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

12971297
<para>
1298-
Another type of statistics stored for each column are most-common value
1298+
Another type of statistic stored for each column are most-common value
12991299
lists. This allows very accurate estimates for individual columns, but
13001300
may result in significant misestimates for queries with conditions on
13011301
multiple columns.

doc/src/sgml/protocol.sgml

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

doc/src/sgml/ref/pg_receivewal.sgml

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

9291
<listitem>
9392
<para>
9493
If a starting point cannot be calculated with the previous method,
9594
the latest WAL flush location is used as reported by the server from
96-
a <literal>IDENTIFY_SYSTEM</literal> command.
95+
an <literal>IDENTIFY_SYSTEM</literal> command.
9796
</para>
9897
</listitem>
9998
</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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy