diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index c09760ef57..d046614d76 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -8208,8 +8208,8 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
This parameter specifies the default table access method to use when
creating tables or materialized views if the CREATE
command does not explicitly specify an access method, or when
- SELECT ... INTO is used, which does not allow to
- specify a table access method. The default is heap.
+ SELECT ... INTO is used, which does not allow
+ specifying a table access method. The default is heap.
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml
index e0ffb020bf..a58ff277eb 100644
--- a/doc/src/sgml/ddl.sgml
+++ b/doc/src/sgml/ddl.sgml
@@ -3986,7 +3986,7 @@ ALTER TABLE measurement ATTACH PARTITION measurement_y2008m02
holding an ACCESS EXCLUSIVE lock on that partition.
It is recommended to drop the now-redundant CHECK
constraint after the ATTACH PARTITION is complete. If
- the table being attached is itself a partitioned table then each of its
+ the table being attached is itself a partitioned table, then each of its
sub-partitions will be recursively locked and scanned until either a
suitable CHECK constraint is encountered or the leaf
partitions are reached.
@@ -4001,7 +4001,7 @@ ALTER TABLE measurement ATTACH PARTITION measurement_y2008m02
the partition being attached. This operation will be performed whilst
holding an ACCESS EXCLUSIVE lock on the
DEFAULT partition. If the DEFAULT partition
- is itself a partitioned table then each of its partitions will be
+ is itself a partitioned table, then each of its partitions will be
recursively checked in the same way as the table being attached, as
mentioned above.
diff --git a/doc/src/sgml/perform.sgml b/doc/src/sgml/perform.sgml
index 89ff58338e..9cf8ebea80 100644
--- a/doc/src/sgml/perform.sgml
+++ b/doc/src/sgml/perform.sgml
@@ -1337,7 +1337,7 @@ nd | {"1, 2": 33178, "1, 5": 33178, "2, 5": 27435, "1, 2, 5": 33178}
Multivariate MCV Lists
- Another type of statistics stored for each column are most-common value
+ Another type of statistic stored for each column are most-common value
lists. This allows very accurate estimates for individual columns, but
may result in significant misestimates for queries with conditions on
multiple columns.
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml
index 1f425a08de..d2111d817f 100644
--- a/doc/src/sgml/protocol.sgml
+++ b/doc/src/sgml/protocol.sgml
@@ -2078,7 +2078,7 @@ The commands accepted in replication mode are:
streaming starts on timeline tli;
otherwise, the server's current timeline is selected. The server can
reply with an error, for example if the requested section of WAL has already
- been recycled. On success, server responds with a CopyBothResponse
+ been recycled. On success, the server responds with a CopyBothResponse
message, and then starts to stream WAL to the frontend.
diff --git a/doc/src/sgml/ref/pg_receivewal.sgml b/doc/src/sgml/ref/pg_receivewal.sgml
index 6da8b2be8c..96cc40957a 100644
--- a/doc/src/sgml/ref/pg_receivewal.sgml
+++ b/doc/src/sgml/ref/pg_receivewal.sgml
@@ -82,9 +82,8 @@ PostgreSQL documentation
First, scan the directory where the WAL segment files are written and
- find the newest completed segment file, using as starting point the
- beginning of the next WAL segment file. This is calculated independently
- on the compression method used to compress each segment.
+ find the newest completed segment file, using as the starting point the
+ beginning of the next WAL segment file.
@@ -92,7 +91,7 @@ PostgreSQL documentation
If a starting point cannot be calculated with the previous method,
the latest WAL flush location is used as reported by the server from
- a IDENTIFY_SYSTEM command.
+ an IDENTIFY_SYSTEM command.
diff --git a/doc/src/sgml/ref/select_into.sgml b/doc/src/sgml/ref/select_into.sgml
index acc6401485..82a77784b9 100644
--- a/doc/src/sgml/ref/select_into.sgml
+++ b/doc/src/sgml/ref/select_into.sgml
@@ -107,7 +107,7 @@ SELECT [ ALL | DISTINCT [ ON ( expression
In contrast to CREATE TABLE AS, SELECT
- INTO does not allow to specify properties like a table's access
+ INTO does not allow specifying properties like a table's access
method with or the table's
tablespace with . Use
CREATE TABLE AS if necessary. Therefore, the default table