From: Jeff Davis Date: Tue, 16 Dec 2025 20:48:53 +0000 (-0800) Subject: Clarify a #define introduced in 8d299052fe. X-Git-Url: http://git.postgresql.org/gitweb/static/intro.html?a=commitdiff_plain;h=24bf379cb15162514b01fc9fd05420a0203b82e9;p=postgresql.git Clarify a #define introduced in 8d299052fe. The value is the same, but use the right symbol for clarity. --- diff --git a/src/include/utils/pg_locale.h b/src/include/utils/pg_locale.h index a533463d5b7..6cf1985963d 100644 --- a/src/include/utils/pg_locale.h +++ b/src/include/utils/pg_locale.h @@ -38,7 +38,7 @@ * https://www.unicode.org/versions/Unicode16.0.0/core-spec/chapter-5/#G29675 */ #define UNICODE_CASEMAP_LEN 3 -#define UNICODE_CASEMAP_BUFSZ (UNICODE_CASEMAP_LEN * sizeof(char32_t)) +#define UNICODE_CASEMAP_BUFSZ (UNICODE_CASEMAP_LEN * MAX_MULTIBYTE_CHAR_LEN) /* GUC settings */ extern PGDLLIMPORT char *locale_messages;