Clarify a #define introduced in 8d299052fe.
authorJeff Davis <[email protected]>
Tue, 16 Dec 2025 20:48:53 +0000 (12:48 -0800)
committerJeff Davis <[email protected]>
Tue, 16 Dec 2025 20:48:53 +0000 (12:48 -0800)
The value is the same, but use the right symbol for clarity.

src/include/utils/pg_locale.h

index a533463d5b744e4b6223a37049eeb10f0b15d857..6cf1985963d7e52c29c92ee3face97a8125b81e3 100644 (file)
@@ -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;