pgsql: Improve ICU option handling in CREATE DATABASE

2022-09-21 Thread Peter Eisentraut
Improve ICU option handling in CREATE DATABASE We check that the ICU locale is only specified if the ICU locale provider is selected. But we did that too early. We need to wait until we load the settings of the template database, since that could also set what the locale provider is. Reported-b

pgsql: Improve ICU option handling in CREATE DATABASE

2022-09-21 Thread Peter Eisentraut
Improve ICU option handling in CREATE DATABASE We check that the ICU locale is only specified if the ICU locale provider is selected. But we did that too early. We need to wait until we load the settings of the template database, since that could also set what the locale provider is. Reported-b