Skip to content

Commit ac8be0c

Browse files
committed
Docs: fix some spelling mistakes and also do some wordsmithing
All except one of these are new to v15. Only one of the wordsmithing changes appears in older versions. The wordsmithing improvement does not seem significant enough to warrant backpatching. Author: Justin Pryzby Discussion: https://postgr.es/m/20220411020336.GB26620@telsasoft.com
1 parent b5607b0 commit ac8be0c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doc/src/sgml/charset.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ initdb --locale=sv_SE
314314
A locale can be selected separately for each database. The SQL command
315315
<command>CREATE DATABASE</command> and its command-line equivalent
316316
<command>createdb</command> have options for that. Use this for example
317-
if a database cluster houses databases for multiple tennants with
317+
if a database cluster houses databases for multiple tenants with
318318
different requirements.
319319
</para>
320320
</listitem>
@@ -346,7 +346,7 @@ initdb --locale=sv_SE
346346
providers</firstterm>. This specifies which library supplies the locale
347347
data. One standard provider name is <literal>libc</literal>, which uses
348348
the locales provided by the operating system C library. These are the
349-
locales that most tools provided by the operating system use. Another
349+
locales used by most tools provided by the operating system. Another
350350
provider is <literal>icu</literal>, which uses the external
351351
ICU<indexterm><primary>ICU</primary></indexterm> library. ICU locales can
352352
only be used if support for ICU was configured when PostgreSQL was built.
@@ -361,8 +361,8 @@ initdb --locale=sv_SE
361361
<programlisting>
362362
initdb --locale-provider=icu --icu-locale=en
363363
</programlisting>
364-
See the description of the respective commands and programs for the
365-
respective details. Note that you can mix locale providers on different
364+
See the description of the respective commands and programs for
365+
details. Note that you can mix locale providers at different
366366
granularities, for example use <literal>libc</literal> by default for the
367367
cluster but have one database that uses the <literal>icu</literal>
368368
provider, and then have collation objects using either provider within
@@ -610,8 +610,8 @@ SELECT * FROM test1 ORDER BY a || b COLLATE "fr_FR";
610610
definition has a <firstterm>provider</firstterm> that specifies which
611611
library supplies the locale data. One standard provider name
612612
is <literal>libc</literal>, which uses the locales provided by the
613-
operating system C library. These are the locales that most tools
614-
provided by the operating system use. Another provider
613+
operating system C library. These are the locales used by most tools
614+
provided by the operating system. Another provider
615615
is <literal>icu</literal>, which uses the external
616616
ICU<indexterm><primary>ICU</primary></indexterm> library. ICU locales can only be
617617
used if support for ICU was configured when PostgreSQL was built.

doc/src/sgml/ref/initdb.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ PostgreSQL documentation
108108
Alternatively, the ICU library can be used to provide locale services.
109109
(Again, this only sets the default for subsequently created databases.) To
110110
select this option, specify <literal>--locale-provider=icu</literal>.
111-
To chose the specific ICU locale ID to apply, use the option
111+
To choose the specific ICU locale ID to apply, use the option
112112
<option>--icu-locale</option>. Note that
113113
for implementation reasons and to support legacy code,
114114
<command>initdb</command> will still select and initialize libc locale

0 commit comments

Comments
 (0)