freebsd-skq/share/colldef
tmunro b454726096 Add collation version support to querylocale(3).
Provide a way to ask for an opaque version string for a locale_t, so
that potential changes in sort order can be detected.  Similar to
ICU's ucol_getVersion() and Windows' GetNLSVersionEx(), this API is
intended to allow databases to detect when text order-based indexes
might need to be rebuilt.

The CLDR version is extracted from CLDR source data by the Makefile
under tools/tools/locale, written into the machine-generated Makefile
under shared/colldef, passed to localedef -V, and then written into
LC_COLLATE file headers.  The initial version is 34.0.
tools/tools/locale was recently updated to pull down 35.0, but the
output hasn't been committed under share/colldef yet, so that will
provide the first observable change when it happens.  Other versioning
schemes are possible in future, because the format is unspecified.

Reviewed by:	bapt, 0mp, kib, yuripv (albeit a long time ago)
Differential Revision:	https://reviews.freebsd.org/D17166
2020-11-08 02:50:34 +00:00
..
af_ZA.UTF-8.src
am_ET.UTF-8.src
ar_SA.UTF-8.src
be_BY.UTF-8.src
ca_AD.UTF-8.src
cs_CZ.ISO8859-2.src
cs_CZ.UTF-8.src
da_DK.ISO8859-1.src
da_DK.ISO8859-15.src
da_DK.UTF-8.src
el_GR.UTF-8.src
en_US.UTF-8.src
es_MX.UTF-8.src
et_EE.UTF-8.src
fi_FI.UTF-8.src
fr_CA.UTF-8.src
he_IL.UTF-8.src
hi_IN.UTF-8.src
hr_HR.ISO8859-2.src
hu_HU.ISO8859-2.src
hu_HU.UTF-8.src
hy_AM.UTF-8.src
is_IS.UTF-8.src
ja_JP.eucJP.src
ja_JP.UTF-8.src
kk_KZ.UTF-8.src
ko_KR.UTF-8.src
lt_LT.UTF-8.src
lv_LV.UTF-8.src
Makefile
Makefile.depend
nb_NO.ISO8859-1.src
nb_NO.ISO8859-15.src
nn_NO.ISO8859-1.src
nn_NO.ISO8859-15.src
nn_NO.UTF-8.src
pl_PL.UTF-8.src
ro_RO.UTF-8.src
ru_RU.UTF-8.src
se_NO.UTF-8.src
sk_SK.ISO8859-2.src
sk_SK.UTF-8.src
sl_SI.UTF-8.src
sr_RS.ISO8859-2.src
sr_RS.ISO8859-5.src
sr_RS.UTF-8.src
sr_RS.UTF-8@latin.src
sv_SE.UTF-8.src
tr_TR.UTF-8.src
uk_UA.UTF-8.src
zh_CN.eucCN.src
zh_CN.GB2312.src
zh_CN.GB18030.src
zh_CN.GBK.src
zh_CN.UTF-8.src
zh_TW.Big5.src
zh_TW.UTF-8.src