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

Commit 3b2af88

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 2796ae2 commit 3b2af88

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

doc/src/sgml/charset.sgml

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

doc/src/sgml/pageinspect.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ test=# SELECT tuple_data_split('pg_class'::regclass, t_data, t_infomask, t_infom
206206
</para>
207207
<para>
208208
If <parameter>do_detoast</parameter> is <literal>true</literal>,
209-
attribute that will be detoasted as needed. Default value is
209+
attributes will be detoasted as needed. Default value is
210210
<literal>false</literal>.
211211
</para>
212212
</listitem>

doc/src/sgml/protocol.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6882,8 +6882,8 @@ Delete
68826882
</term>
68836883
<listitem>
68846884
<para>
6885-
Identifies the following TupleData message as a old tuple.
6886-
This field is present if the table in which the delete has
6885+
Identifies the following TupleData message as an old tuple.
6886+
This field is present if the table in which the delete
68876887
happened has REPLICA IDENTITY set to FULL.
68886888
</para>
68896889
</listitem>

doc/src/sgml/ref/create_type.sgml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

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

0 commit comments

Comments
 (0)