Fix ICU locale option handling in CREATE DATABASE
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 24 Aug 2022 11:27:34 +0000 (13:27 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 24 Aug 2022 11:27:34 +0000 (13:27 +0200)
commit8b808f189fb1f62a6830e5c023f4ae49a1f4c9a8
tree66f411c544a502c2c777e4e5c020cf2e2edd15f3
parent701ac2cb1fa25ca0b8572e87073d9008ed406b55
Fix ICU locale option handling in CREATE DATABASE

The code took the LOCALE option as the default/fallback for
ICU_LOCALE, but this was neither documented nor intended, so remove
it.  (It was probably left in from an earlier patch version.)

Reported-by: Marina Polyakova <m.polyakova@postgrespro.ru>
Discussion: https://www.postgresql.org/message-id/flat/f385ba25e7f8be427b8c582e5cca7d79%40postgrespro.ru#515a31c5429d6d37ad1d5c9d66962a1e
src/backend/commands/dbcommands.c