Remove unnecessary #ifdef USE_ICU and branch.
Jeff Davis <jdavis@postgresql.org>
Remove unnecessary #ifdef USE_ICU and branch. Now that the provider-independent API pg_strnxfrm() is available, we no longer need the special cases for ICU in hashfunc.c and varchar.c. Reviewed-by: Peter Eisentraut, Peter Geoghegan Discussion: https://postgr.es/m/a581136455c940d7bd0ff482d3a2bd51af25a94f.camel%40j-davis.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/hash/hashfunc.c | modified | +42 −57 |
| src/backend/utils/adt/varchar.c | modified | +29 −45 |
Discussion
- Rework of collation code, extensibility 24 messages · 2022-12-18 → 2023-02-23