diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index f0654773f7c..f23a83dbc35 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -4788,7 +4788,7 @@ EXEC SQL WHENEVER condition action
Execute the C statement continue. This should
- only be used in loops statements. if executed, will cause the flow
+ only be used in loops statements. if executed, will cause the flow
of control to return to the top of the loop.
diff --git a/doc/src/sgml/ref/alter_index.sgml b/doc/src/sgml/ref/alter_index.sgml
index f5c6d9f2ef2..7290d9a5bda 100644
--- a/doc/src/sgml/ref/alter_index.sgml
+++ b/doc/src/sgml/ref/alter_index.sgml
@@ -134,7 +134,7 @@ ALTER INDEX ALL IN TABLESPACE name
subsequent operations, though can
be used only on index columns that are defined as an expression.
Since expressions lack a unique name, we refer to them using the
- ordinal number of the index column.
+ ordinal number of the index column.
The target can be set in the range 0 to 10000; alternatively, set it
to -1 to revert to using the system default statistics
target ().
diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml
index e4b37dd6e19..7bd01a24ea7 100644
--- a/doc/src/sgml/ref/pgbench.sgml
+++ b/doc/src/sgml/ref/pgbench.sgml
@@ -948,7 +948,7 @@ pgbench options d
\else
\endif
-
+
This group of commands implements nestable conditional blocks,
similarly to psql's .
Conditional expressions are identical to those with \set,
@@ -1415,7 +1415,7 @@ pgbench options d
The random function generates values using a uniform
distribution, that is all the values are drawn within the specified
- range with equal probability. The random_exponential,
+ range with equal probability. The random_exponential,
random_gaussian and random_zipfian
functions require an additional double parameter which determines the precise
shape of the distribution.
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 330e38a29e9..39eaa73f54e 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -2457,7 +2457,7 @@ openssl x509 -req -in server.csr -text -days 365 \
server.crt and server.key
should be stored on the server, and root.crt should
be stored on the client so the client can verify that the server's leaf
- certificate was signed by its trusted root certificate.
+ certificate was signed by its trusted root certificate.
root.key should be stored offline for use in
creating future certificates.
diff --git a/doc/src/sgml/spgist.sgml b/doc/src/sgml/spgist.sgml
index 06b75190522..1816fdf1d57 100644
--- a/doc/src/sgml/spgist.sgml
+++ b/doc/src/sgml/spgist.sgml
@@ -779,7 +779,7 @@ typedef struct spgLeafConsistentOut
parent tuple; it is (Datum) 0 at the root level or if the
inner_consistent function did not provide a value at the
parent level. reconstructedValue is always of
- spgConfigOut.leafType type.
+ spgConfigOut.leafType type.
traversalValue is a pointer to any traverse data
passed down from the previous call of inner_consistent
on the parent index tuple, or NULL at the root level.
@@ -817,7 +817,7 @@ typedef struct spgLeafConsistentOut
Datum compress(Datum in)
- Converts the data item into a format suitable for physical storage in
+ Converts the data item into a format suitable for physical storage in
a leaf tuple of index page. It accepts
spgConfigIn.attType
value and return