diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-05-02 08:21:18 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-05-02 08:23:35 +0200 |
commit | 4b451fd31d97dce66046aed89ecbece4f9c63edb (patch) | |
tree | 7c26626479ffd2d1d0287667ac1eaa5a1e410a5f | |
parent | e3f9dcabd6f2c4c1845f16ec24b59e0751b055af (diff) | |
download | postgresql-4b451fd31d97dce66046aed89ecbece4f9c63edb.tar.gz postgresql-4b451fd31d97dce66046aed89ecbece4f9c63edb.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.sgml | 2 |
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 58f5f0cd63a..11c00898518 100644 --- a/doc/src/sgml/ref/create_collation.sgml +++ b/doc/src/sgml/ref/create_collation.sgml @@ -139,7 +139,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> |