OSDN Git Service

When creating a collation, check that the locales can be loaded
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 4 Mar 2011 20:14:37 +0000 (22:14 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 4 Mar 2011 20:14:37 +0000 (22:14 +0200)
commit4442e1975d3c4c96a0b573b7abd864b0cbe26f9d
tree7103b3d57c7e6e6fd49d0fccc0fc16c977097855
parentbd58d9d883111ee84de4af480ebb018fe9b0bf27
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.
src/backend/commands/collationcmds.c
src/test/regress/expected/collate.linux.utf8.out
src/test/regress/sql/collate.linux.utf8.sql