We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84d5efa commit 24bf379Copy full SHA for 24bf379
src/include/utils/pg_locale.h
@@ -38,7 +38,7 @@
38
* https://www.unicode.org/versions/Unicode16.0.0/core-spec/chapter-5/#G29675
39
*/
40
#define UNICODE_CASEMAP_LEN 3
41
-#define UNICODE_CASEMAP_BUFSZ (UNICODE_CASEMAP_LEN * sizeof(char32_t))
+#define UNICODE_CASEMAP_BUFSZ (UNICODE_CASEMAP_LEN * MAX_MULTIBYTE_CHAR_LEN)
42
43
/* GUC settings */
44
extern PGDLLIMPORT char *locale_messages;
0 commit comments