Re: Allow tailoring of ICU locales with custom rules - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Allow tailoring of ICU locales with custom rules
Date
Msg-id 6204a76e-c7d7-5a6a-07d2-a8af8ca16504@enterprisedb.com
Whole thread Raw
In response to Re: Allow tailoring of ICU locales with custom rules  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: Allow tailoring of ICU locales with custom rules
List pgsql-hackers
On 20.02.23 17:30, Daniel Verite wrote:
> - pg_dump support need to be added for CREATE COLLATION / DATABASE

I have added that.

> 
> - there doesn't seem to be a way to add rules to template1.
> If someone wants to have icu rules and initial contents to their new
> databases, I think they need to create a custom template database
> (from template0) for that purpose, in addition to template1.
>  From a usability standpoint, this is a bit cumbersome, as it's
> normally the role of template1.
> To improve on that, shouldn't initdb be able to create template0 with
> rules too?

Right, that would be an initdb option.  Is that too many initdb options 
then?  It would be easy to add, if we think it's worth it.

Attachment

pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: Non-superuser subscription owners
Next
From: Tom Lane
Date:
Subject: Re: wrong query result due to wang plan