Re: [17] collation provider "builtin"

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: [17] collation provider "builtin"
Дата
Msg-id 204ba69f-7027-f381-ade4-9aa38df9dbf3@joeconway.com
обсуждение исходный текст
Ответ на Re: [17] collation provider "builtin"  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: [17] collation provider "builtin"  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On 6/14/23 19:20, Thomas Munro wrote:
> On Thu, Jun 15, 2023 at 10:55 AM Jeff Davis <pgsql@j-davis.com> wrote:
>> The locale "C" (and equivalently, "POSIX") is not really a libc locale;
>> it's implemented internally with memcmp for collation and
>> pg_ascii_tolower, etc., for ctype.
>>
>> The attached patch implements a new collation provider, "builtin",
>> which only supports "C" and "POSIX". It does not change the initdb
>> default provider, so it must be requested explicitly. The user will be
>> guaranteed that collations with provider "builtin" will never change
>> semantics; therefore they need no version and indexes are not at risk
>> of corruption. See previous discussion[1].
> 
> I haven't studied the details yet but +1 for this idea.  It models
> what we are actually doing.

+1 agreed

-- 
Joe Conway
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com




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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: psql: Add role's membership options to the \du+ command
Следующее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: Let's make PostgreSQL multi-threaded