Re: [PATCH] Fix ICU strength not being honored in collation rules
| От | Daniel Verite | 
|---|---|
| Тема | Re: [PATCH] Fix ICU strength not being honored in collation rules | 
| Дата | |
| Msg-id | 597890aa-cd73-4f6e-9d77-9cad6a5e3953@manitou-mail.org обсуждение исходный текст  | 
		
| Ответ на | [PATCH] Fix ICU strength not being honored in collation rules (Luis Felippe <luisfelippe@protonmail.com>) | 
| Ответы | 
                	
            		Re: [PATCH] Fix ICU strength not being honored in collation rules
            		
            		 | 
		
| Список | pgsql-hackers | 
Luis Felippe wrote: > This fix changes this call to pass UCOL_DEFAULT instead. This way, > UCOL_TERTIARY is still specified by default, but the strength explicitly set > on the rules string is not overwritten. This is important because there is > currently no way to create a collation with custom tailoring rules with > strengh other than tertiary. Yes. There was a previous report recently [1], with a proposed fix [2] identical to yours. > As this only affects cases where the strength is explicitly set but was > previously ignores, I do not think it is a breaking change. The fix may change sort results for collations affected by the problem (that's the point of the fix!), so even if it's for the better, it's theorically a breaking change for databases that may have collations like that. [1] https://www.postgresql.org/message-id/flat/YT2PPF959236618377A072745A280E278F4BE1DA@YT2PPF959236618.CANPRD01.PROD.OUTLOOK.COM [2] https://commitfest.postgresql.org/patch/6084/ Best regards, -- Daniel Vérité https://postgresql.verite.pro/
В списке pgsql-hackers по дате отправления: