Tighten the check in initdb and CREATE DATABASE that the chosen encoding
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Tighten the check in initdb and CREATE DATABASE that the chosen encoding matches the encoding of the locale. LC_COLLATE is now checked in addition to LC_CTYPE.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/charset.sgml | modified | +5 −5 |
| src/backend/commands/dbcommands.c | modified | +17 −2 |
| src/bin/initdb/initdb.c | modified | +59 −45 |