- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit0669790
committed
Don't copy datlocale from template unless provider matches.
During CREATE DATABASE, if changing the locale provider, require thata new locale is specified rather than trying to reinterpret thetemplate's locale using the new provider.This only affects the behavior when the template uses the builtinprovider and CREATE DATABASE specifies the ICU provider withoutspecifying the locale. Previously, that may have succeeded due toloose validation by ICU, whereas now that will cause an error. Becauseit can cause an error, backport only to unreleased versions.Discussion:https://postgr.es/m/5038b33a6dc639009f4b3d43fa6ae0c5ba9e04f7.camel@j-davis.comBackpatch-through: 181 parente5d04ae commit0669790
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1052 | 1052 | | |
1053 | 1053 | | |
1054 | 1054 | | |
1055 | | - | |
| 1055 | + | |
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
| |||
0 commit comments
Comments
(0)