Remove unnecessary #ifdef USE_ICU and branch.

Jeff Davis <jdavis@postgresql.org>

Commit: e0b3074e894496b41b57fd1c96ede68803cf3df8
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2023-02-23T19:20:00Z
Releases: 16.0
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

PathChange+/−
src/backend/access/hash/hashfunc.c modified +42 −57
src/backend/utils/adt/varchar.c modified +29 −45

Discussion