Skip to content

Commit c7a4fc3

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 0ccebe7 commit c7a4fc3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

doc/src/sgml/charset.sgml

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

doc/src/sgml/pageinspect.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ test=# SELECT tuple_data_split('pg_class'::regclass, t_data, t_infomask, t_infom
130130
</para>
131131
<para>
132132
If <parameter>do_detoast</parameter> is <literal>true</literal>,
133-
attribute that will be detoasted as needed. Default value is
133+
attributes will be detoasted as needed. Default value is
134134
<literal>false</literal>.
135135
</para>
136136
</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</>
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
@@ -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)