diff options
author | Thomas Munro <tmunro@postgresql.org> | 2020-11-04 14:58:34 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2020-11-04 15:13:08 +1300 |
commit | 9f12a3b95dd56c897f1aa3d756d8fb419e84a187 (patch) | |
tree | 1ae5af10dae66e5ad2b3223d8f59d4fc2271b6af /src/backend/access/transam/xlog.c | |
parent | e152506adef4bc503ea7b8ebb4fedc0b8eebda81 (diff) | |
download | postgresql-9f12a3b95dd56c897f1aa3d756d8fb419e84a187.tar.gz postgresql-9f12a3b95dd56c897f1aa3d756d8fb419e84a187.zip |
Tolerate version lookup failure for old style Windows locale names.
Accept that we can't get versions for such locale names for now. Users
will need to specify the newer language tag format to enable the
collation versioning feature. It's not clear that we can do automatic
conversion from the old style to the new style reliably enough for this
purpose.
Unfortunately, this means that collation versioning probably won't work
for the default collation unless you provide something like en-US at
initdb or CREATE DATABASE time (though, for reasons not yet understood,
it does seem to work on some systems). It'd be nice to find a better
solution, or document this quirk if we settle on it, but this should
unbreak the 3 failing build farm animals in the meantime.
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CAEepm%3D0uEQCpfq_%2BLYFBdArCe4Ot98t1aR4eYiYTe%3DyavQygiQ%40mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions