From 4b451fd31d97dce66046aed89ecbece4f9c63edb Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 2 May 2024 08:21:18 +0200 Subject: 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 Discussion: https://www.postgresql.org/message-id/flat/a71023c2-0ae0-45ad-9688-cf3b93d0d65b%40eisentraut.org --- doc/src/sgml/ref/create_collation.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/src') 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 ] name FROM LC_COLLATE setting + choose an appropriate LOCALE setting and set the collation to not deterministic here. -- cgit v1.2.3