diff options
author | Jeff Davis <jdavis@postgresql.org> | 2023-02-23 10:55:20 -0800 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2023-02-23 10:55:20 -0800 |
commit | d87d548cd0304477413a73e9c1d148fb2d40b50d (patch) | |
tree | 110613f01e1fc49b20eb95e416227eaf96e469d0 /src/backend/regex/regc_pg_locale.c | |
parent | e9960732a9618d5f744ff43a09622c9185798760 (diff) | |
download | postgresql-d87d548cd0304477413a73e9c1d148fb2d40b50d.tar.gz postgresql-d87d548cd0304477413a73e9c1d148fb2d40b50d.zip |
Refactor to add pg_strcoll(), pg_strxfrm(), and variants.
Offers a generally better separation of responsibilities for collation
code. Also, a step towards multi-lib ICU, which should be based on a
clean separation of the routines required for collation providers.
Callers with NUL-terminated strings should call pg_strcoll() or
pg_strxfrm(); callers with strings and their length should call the
variants pg_strncoll() or pg_strnxfrm().
Reviewed-by: Peter Eisentraut, Peter Geoghegan
Discussion: https://postgr.es/m/a581136455c940d7bd0ff482d3a2bd51af25a94f.camel%40j-davis.com
Diffstat (limited to 'src/backend/regex/regc_pg_locale.c')
0 files changed, 0 insertions, 0 deletions