Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9de839f

Browse files
committed
Fix some typos, grammar and style in docs and comments
The portions fixing the documentation are backpatched where needed. Author: Justin Pryzby Discussion: https://postgr.es/m/20210210235557.GQ20012@telsasoft.com backpatch-through: 9.6
1 parent 28f4b61 commit 9de839f

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

doc/src/sgml/charset.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ SELECT * FROM test1 ORDER BY a || b COLLATE "fr_FR";
619619
name such as <literal>de_DE</literal> can be considered unique
620620
within a given database even though it would not be unique globally.
621621
Use of the stripped collation names is recommended, since it will
622-
make one less thing you need to change if you decide to change to
622+
make one fewer thing you need to change if you decide to change to
623623
another database encoding. Note however that the <literal>default</literal>,
624624
<literal>C</literal>, and <literal>POSIX</literal> collations can be used regardless of
625625
the database encoding.

doc/src/sgml/pageinspect.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ test=# SELECT tuple_data_split('pg_class'::regclass, t_data, t_infomask, t_infom
211211
</para>
212212
<para>
213213
If <parameter>do_detoast</parameter> is <literal>true</literal>,
214-
attribute that will be detoasted as needed. Default value is
214+
attributes will be detoasted as needed. Default value is
215215
<literal>false</literal>.
216216
</para>
217217
</listitem>

doc/src/sgml/protocol.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6922,8 +6922,8 @@ Delete
69226922
</term>
69236923
<listitem>
69246924
<para>
6925-
Identifies the following TupleData message as a old tuple.
6926-
This field is present if the table in which the delete has
6925+
Identifies the following TupleData message as an old tuple.
6926+
This field is present if the table in which the delete
69276927
happened has REPLICA IDENTITY set to FULL.
69286928
</para>
69296929
</listitem>

doc/src/sgml/ref/create_type.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
790790
Before <productname>PostgreSQL</productname> version 8.3, the name of
791791
a generated array type was always exactly the element type's name with one
792792
underscore character (<literal>_</literal>) prepended. (Type names were
793-
therefore restricted in length to one less character than other names.)
793+
therefore restricted in length to one fewer character than other names.)
794794
While this is still usually the case, the array type name may vary from
795795
this in case of maximum-length names or collisions with user type names
796796
that begin with underscore. Writing code that depends on this convention

doc/src/sgml/ref/drop_index.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ DROP INDEX [ CONCURRENTLY ] [ IF EXISTS ] <replaceable class="parameter">name</r
4545
<para>
4646
Drop the index without locking out concurrent selects, inserts, updates,
4747
and deletes on the index's table. A normal <command>DROP INDEX</command>
48-
acquires exclusive lock on the table, blocking other accesses until the
48+
acquires an exclusive lock on the table, blocking other accesses until the
4949
index drop can be completed. With this option, the command instead
5050
waits until conflicting transactions have completed.
5151
</para>

doc/src/sgml/rules.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ CREATE [ OR REPLACE ] RULE <replaceable class="parameter">name</replaceable> AS
12661266
<para>
12671267
The query trees generated from rule actions are thrown into the
12681268
rewrite system again, and maybe more rules get applied resulting
1269-
in more or less query trees.
1269+
in additional or fewer query trees.
12701270
So a rule's actions must have either a different
12711271
command type or a different result relation than the rule itself is
12721272
on, otherwise this recursive process will end up in an infinite loop.

0 commit comments

Comments
 (0)