mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 00:57:20 +02:00
If the locale names are not equal, try to canonicalize both of them by passing them to setlocale(). Before, we only canonicalized the old cluster's locale if upgrading from a 8.4-9.2 server, but we also need to canonicalize when upgrading from a pre-8.4 server. That was an oversight in the code. But we should also canonicalize on newer server versions, so that we cope if the canonical form changes from one release to another. I'm about to do just that to fix bug #11431, by mapping a locale name that contains non-ASCII characters to a pure-ASCII alias of the same locale. This is partial backpatch of commit |
||
---|---|---|
.. | ||
.gitignore | ||
check.c | ||
controldata.c | ||
dump.c | ||
exec.c | ||
file.c | ||
function.c | ||
IMPLEMENTATION | ||
info.c | ||
Makefile | ||
option.c | ||
page.c | ||
parallel.c | ||
pg_upgrade.c | ||
pg_upgrade.h | ||
relfilenode.c | ||
server.c | ||
tablespace.c | ||
test.sh | ||
TESTING | ||
util.c | ||
version_old_8_3.c | ||
version.c |