diff options
| author | Jeff Davis | 2025-12-16 20:48:53 +0000 |
|---|---|---|
| committer | Jeff Davis | 2025-12-16 20:48:53 +0000 |
| commit | 24bf379cb15162514b01fc9fd05420a0203b82e9 (patch) | |
| tree | 026dd15f3a38b18ca6c215218cec6753de2df34f | |
| parent | 84d5efa7e3ebcf04694d312b0f14ceb35dcdfb8e (diff) | |
Clarify a #define introduced in 8d299052fe.
The value is the same, but use the right symbol for clarity.
| -rw-r--r-- | src/include/utils/pg_locale.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
