pgsql: When creating a collation, check that the locales can be loaded

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: When creating a collation, check that the locales can be loaded
Date: 2011-03-04 20:16:08
Message-ID: E1PvbQ0-0003ZQ-4E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-03-04 21:09:07 pgsql: Allow non-superusers to create (some) extensions.
Previous Message Tom Lane 2011-03-04 16:40:00 pgsql: In initialize_SSL, don't fail unnecessarily when home dir is una