git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: cf2c7a7) | patch
Don't allow creation of database with ICU locale with unsupported encoding
2022年9月16日 07:37:54 +0000 (09:37 +0200)
2022年9月16日 07:41:33 +0000 (09:41 +0200)
commit c7db01e325a530ec38ec7ba57cd3ed32e123e33c
Don't allow creation of database with ICU locale with unsupported encoding

Check in CREATE DATABASE and initdb that the selected encoding is
supported by ICU. Before, they would pass but users would later get
an error from the server when they tried to use the database.

Also document that initdb sets the encoding to UTF8 by default if the
ICU locale provider is chosen.

Author: Marina Polyakova <m.polyakova@postgrespro.ru>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://www.postgresql.org/message-id/6dd6db0984d86a51b7255ba79f111971@postgrespro.ru
doc/src/sgml/ref/initdb.sgml diff | blob | blame | history
src/backend/commands/dbcommands.c diff | blob | blame | history
src/bin/initdb/initdb.c diff | blob | blame | history
src/bin/initdb/t/001_initdb.pl diff | blob | blame | history
src/bin/scripts/t/020_createdb.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /