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

Commit4a65e1c

Browse files
committed
doc: Fix description of deterministic flag of CREATE COLLATION
The documentation said that you need to pick a suitable LC_COLLATEsetting in addition to setting the DETERMINISTIC flag. This wouldhave been correct if the libc provider supported nondeterministiccollations, but since it doesn't, you actually need to set the LOCALEoption.Reviewed-by: Kashif Zeeshan <kashi.zeeshan@gmail.com>Discussion:https://www.postgresql.org/message-id/flat/a71023c2-0ae0-45ad-9688-cf3b93d0d65b%40eisentraut.org
1 parent9c1d1bd commit4a65e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ CREATE COLLATION [ IF NOT EXISTS ] <replaceable>name</replaceable> FROM <replace
154154
logically equal by the comparison. PostgreSQL breaks ties using a
155155
byte-wise comparison. Comparison that is not deterministic can make the
156156
collation be, say, case- or accent-insensitive. For that, you need to
157-
choose an appropriate <literal>LC_COLLATE</literal> setting
157+
choose an appropriate <literal>LOCALE</literal> setting
158158
<emphasis>and</emphasis> set the collation to not deterministic here.
159159
</para>
160160

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp