Обсуждение: Perhaps an issue on the collation page?

Поиск
Список
Период
Сортировка

Perhaps an issue on the collation page?

От
PG Doc comments form
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/15/collation.html
Description:

This page states:

  Observe how in the traditional ICU locale naming system, the root locale
is selected by an empty string.

  CREATE COLLATION latinlast (provider = icu, locale =
'en-u-kr-grek-latn');
  CREATE COLLATION latinlast (provider = icu, locale =
'en@colReorder=grek-latn');

Neither of the locales are empty strings.

Re: Perhaps an issue on the collation page?

От
Laurenz Albe
Дата:
On Wed, 2023-04-26 at 21:20 +0000, PG Doc comments form wrote:
> Page: https://www.postgresql.org/docs/15/collation.html
>
> This page states:
>
>   Observe how in the traditional ICU locale naming system, the root locale
> is selected by an empty string.
>
>   CREATE COLLATION latinlast (provider = icu, locale =
> 'en-u-kr-grek-latn');
>   CREATE COLLATION latinlast (provider = icu, locale =
> 'en@colReorder=grek-latn');
>
> Neither of the locales are empty strings.

The sentence with the "empty string" refers to the example that was before:

  CREATE COLLATION "und-u-co-emoji-x-icu" (provider = icu, locale = '@collation=emoji');

There is nothing, that is an ampty string, before the "@".

Yours,
Laurenz Albe