aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-05-02 08:21:18 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-05-02 08:23:02 +0200
commitec235d8649170cfae3d6bd11859758538dd0d0f6 (patch)
tree8435ec9518797921318bbd0b1f36bd8efa7eef4d
parent0e66ed142106f8397bbb1f0be736f7d808b9493f (diff)
downloadpostgresql-ec235d8649170cfae3d6bd11859758538dd0d0f6.tar.gz
postgresql-ec235d8649170cfae3d6bd11859758538dd0d0f6.zip
doc: Fix description of deterministic flag of CREATE COLLATION
The documentation said that you need to pick a suitable LC_COLLATE setting in addition to setting the DETERMINISTIC flag. This would have been correct if the libc provider supported nondeterministic collations, but since it doesn't, you actually need to set the LOCALE option. Reviewed-by: Kashif Zeeshan <kashi.zeeshan@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/a71023c2-0ae0-45ad-9688-cf3b93d0d65b%40eisentraut.org
-rw-r--r--doc/src/sgml/ref/create_collation.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/create_collation.sgml b/doc/src/sgml/ref/create_collation.sgml
index 5cf9777764b..7478eac5cf1 100644
--- a/doc/src/sgml/ref/create_collation.sgml
+++ b/doc/src/sgml/ref/create_collation.sgml
@@ -149,7 +149,7 @@ CREATE COLLATION [ IF NOT EXISTS ] <replaceable>name</replaceable> FROM <replace
logically equal by the comparison. PostgreSQL breaks ties using a
byte-wise comparison. Comparison that is not deterministic can make the
collation be, say, case- or accent-insensitive. For that, you need to
- choose an appropriate <literal>LC_COLLATE</literal> setting
+ choose an appropriate <literal>LOCALE</literal> setting
<emphasis>and</emphasis> set the collation to not deterministic here.
</para>