Re: database collation "C" and "C.LATIN1"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: database collation "C" and "C.LATIN1"
Дата
Msg-id 374722.1678372549@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: database collation "C" and "C.LATIN1"  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-admin
Laurenz Albe <laurenz.albe@cybertec.at> writes:
> On Thu, 2023-03-09 at 08:37 +0000, James Pang (chaolpan) wrote:
>> Both follow  "C"  collate behavior ,right?  

> Right.

There is another difference: "C" is a built-in collation, while
"C.latin1" must have been something that initdb made because
"locale -a" claimed it exists on your platform.  Postgres has
some optimizations built in for "C" (and its equivalent "POSIX")
that will not apply for "C.latin1".  So while they should be
behaviorally the same, "C.latin1" is likely to be slower.

            regards, tom lane



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

Предыдущее
От: Sumit Sengupta
Дата:
Сообщение: Re: postgresql to Oracle database migration
Следующее
От: Wells Oliver
Дата:
Сообщение: Malformed array literal in goin from jsonb to real[]