[17] CREATE COLLATION default provider - Mailing list pgsql-hackers

From Jeff Davis
Subject [17] CREATE COLLATION default provider
Date
Msg-id 92f32dd57c4d11777c885d211655aceb799d6ecd.camel@j-davis.com
Whole thread Raw
Responses Re: [17] CREATE COLLATION default provider
Re: [17] CREATE COLLATION default provider
List pgsql-hackers
Currently, CREATE COLLATION always defaults the provider to libc.

The attached patch causes it to default to libc if LC_COLLATE/LC_CTYPE
are specified, otherwise default to the current database default
collation's provider.

That way, the provider choice at initdb time then becomes the default
for "CREATE DATABASE ... TEMPLATE template0", which then becomes the
default provider for "CREATE COLLATION (LOCALE='...')".


--
Jeff Davis
PostgreSQL Contributor Team - AWS



Attachment

pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: Add a perl function in Cluster.pm to generate WAL
Next
From: Jeff Davis
Date:
Subject: Re: Order changes in PG16 since ICU introduction