Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8b36126

Browse files
jeff-davispull[bot]
authored andcommitted
Correct docs for the default locale_provider of a new database.
If the locale provider is not specified, it defaults to be the same asthe template from which it was created. Previously, the documentationsaid the default was libc.Also adjust wording of CREATE DATABASE and CREATE COLLATION docs to bedefinite that there are exactly two possible collation providers.Discussion:https://postgr.es/m/6befdaada61c046b67f3b269f7fa6f069a35803e.camel%40j-davis.comReviewed-by: Nathan Bossart
1 parent50e4806 commit8b36126

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

‎doc/src/sgml/ref/create_collation.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ CREATE COLLATION [ IF NOT EXISTS ] <replaceable>name</replaceable> FROM <replace
119119
<listitem>
120120
<para>
121121
Specifies the provider to use for locale services associated with this
122-
collation. Possible values
123-
are:<literal>icu</literal>,<indexterm><primary>ICU</primary></indexterm>
124-
<literal>libc</literal>.
125-
<literal>libc</literal> is the default.
126-
The available choices depend on the operating system and build options.
122+
collation. Possible values are
123+
<literal>icu</literal><indexterm><primary>ICU</primary></indexterm>
124+
(if the server was built with ICU support) or<literal>libc</literal>.
125+
<literal>libc</literal> is the default. See <xref
126+
linkend="locale-providers"/> for details.
127127
</para>
128128
</listitem>
129129
</varlistentry>

‎doc/src/sgml/ref/create_database.sgml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,12 @@ CREATE DATABASE <replaceable class="parameter">name</replaceable>
198198
<listitem>
199199
<para>
200200
Specifies the provider to use for the default collation in this
201-
database. Possible values are:
202-
<literal>icu</literal>,<indexterm><primary>ICU</primary></indexterm>
203-
<literal>libc</literal>. <literal>libc</literal> is the default. The
204-
available choices depend on the operating system and build options.
201+
database. Possible values are
202+
<literal>icu</literal><indexterm><primary>ICU</primary></indexterm>
203+
(if the server was built with ICU support) or <literal>libc</literal>.
204+
By default, the provider is the same as that of the <xref
205+
linkend="create-database-template"/>. See <xref
206+
linkend="locale-providers"/> for details.
205207
</para>
206208
</listitem>
207209
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp