Re: Collation versions on Windows (help wanted, apply within)

Поиск
Список
Период
Сортировка
От Juan José Santamaría Flecha
Тема Re: Collation versions on Windows (help wanted, apply within)
Дата
Msg-id CAC+AXB3K7=Zj0m2uaLf-gzjp6URNf3kzSHUuDY7+G9MVqLYqQg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Collation versions on Windows (help wanted, apply within)  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: Collation versions on Windows (help wanted, apply within)  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers


On Mon, Dec 16, 2019 at 1:26 AM Thomas Munro <thomas.munro@gmail.com> wrote:
On Wed, Nov 27, 2019 at 10:38 AM Peter Eisentraut

Would you mind posting the full output of the above query (with <NULL>
showing) on a Windows system after running initdb with the -v2 patch,
so we can see how the collations look?


Sure, you can find attached the full output with ICU.

This is a resume to illustrate an issue with locale = 'C':

postgres=#   CREATE COLLATION c_test (locale = 'C');
CREATE COLLATION
postgres=# select collname, collprovider, collencoding, collcollate, collctype, collversion from pg_collation ;
        collname        | collprovider | collencoding |   collcollate    |    collctype     | collversion
------------------------+--------------+--------------+------------------+------------------+-------------
 default                | d            |           -1 |                  |                  | <NULL>
 C                      | c            |           -1 | C                | C                | <NULL>
 POSIX                  | c            |           -1 | POSIX            | POSIX            | <NULL>
 ucs_basic              | c            |            6 | C                | C                | <NULL>
 und-x-icu              | i            |           -1 | und              | und              | 153.97
[... resumed ...]
 c_test                 | c            |            6 | C                | C                |
(757 rows)

 Shouldn't it be NULL?  

Regards,

Juan José Santamaría Flecha
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: segmentation fault when cassert enabled
Следующее
От: Christoph Moench-Tegeder
Дата:
Сообщение: Re: Improvement to psql's connection defaults