From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Refactor convert_case() to prepare for optimizations. |
Date: | 2025-03-13 04:52:41 |
Message-ID: | E1tsaYj-002DLg-3A@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Refactor convert_case() to prepare for optimizations.
Upcoming optimizations will add complexity to convert_case(). This
patch reorganizes slightly so that the complexity can be contained
within the logic to convert the case of a single character, rather
than mixing it in with logic to iterate through the string.
Reviewed-by: Alexander Borisov <lex(dot)borisov(at)gmail(dot)com>
Discussion: https://postgr.es/m/44005c3d-88f4-4a26-981f-fd82dfa8e313@gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d3b2e5e1ab5ca3e9738d20409debfdd299e65a2e
Modified Files
--------------
src/common/unicode_case.c | 153 ++++++++++++++++++++++++++++++----------------
1 file changed, 101 insertions(+), 52 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Westermann (DWE) | 2025-03-13 05:46:02 | Re: pgsql: Modularize log_connections output |
Previous Message | Amit Kapila | 2025-03-13 04:00:15 | pgsql: Avoid invalidating all RelationSyncCache entries on publication |