pgsql: Remove unnecessary #ifdef USE_ICU and branch.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unnecessary #ifdef USE_ICU and branch.
Date: 2023-02-23 19:47:55
Message-ID: E1pVHZL-000M6B-2e@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e0b3074e894496b41b57fd1c96ede68803cf3df8

Modified Files
--------------
src/backend/access/hash/hashfunc.c | 99 ++++++++++++++++----------------------
src/backend/utils/adt/varchar.c | 74 +++++++++++-----------------
2 files changed, 71 insertions(+), 102 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2023-02-23 20:21:39 pgsql: Add LZ4 compression to pg_dump
Previous Message Jeff Davis 2023-02-23 19:09:10 pgsql: Refactor to add pg_strcoll(), pg_strxfrm(), and variants.