When creating a collation, check that the locales can be loaded
Peter Eisentraut <peter_e@gmx.net>
When creating a collation, check that the locales can be loaded This is the same check that would happen later when the collation is used, but it's friendlier to check the collation already when it is created.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/collationcmds.c | modified | +8 −1 |
| src/test/regress/expected/collate.linux.utf8.out | modified | +2 −0 |
| src/test/regress/sql/collate.linux.utf8.sql | modified | +1 −0 |