pgsql: When creating a collation, check that the locales can be loaded - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: When creating a collation, check that the locales can be loaded
Date
Msg-id E1PvbQ0-0003ZQ-4E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4442e1975d3c4c96a0b573b7abd864b0cbe26f9d

Modified Files
--------------
src/backend/commands/collationcmds.c             |    9 ++++++++-
src/test/regress/expected/collate.linux.utf8.out |    2 ++
src/test/regress/sql/collate.linux.utf8.sql      |    1 +
3 files changed, 11 insertions(+), 1 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: In initialize_SSL, don't fail unnecessarily when home dir is una
Next
From: Tom Lane
Date:
Subject: pgsql: Allow non-superusers to create (some) extensions.