In pg_upgrade, try to convert the locale names to canonical form before
comparison; also report the old/new values if they don't match.
Backpatch to 9.2.
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/fe39bf0db64a99d401a2fdb0a219aefcbb406aa2
Modified Files
--------------
contrib/pg_upgrade/check.c | 72 ++++++++++++++++++++++++++++++++++++++++----
1 files changed, 66 insertions(+), 6 deletions(-)