pgsql: Don't copy datlocale from template unless provider matches.

2025-08-05 Thread Jeff Davis
Don't copy datlocale from template unless provider matches. During CREATE DATABASE, if changing the locale provider, require that a new locale is specified rather than trying to reinterpret the template's locale using the new provider. This only affects the behavior when the template uses the bui

pgsql: Don't copy datlocale from template unless provider matches.

2025-08-05 Thread Jeff Davis
Don't copy datlocale from template unless provider matches. During CREATE DATABASE, if changing the locale provider, require that a new locale is specified rather than trying to reinterpret the template's locale using the new provider. This only affects the behavior when the template uses the bui