Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group