Skip to content

Commit 24bf379

Browse files
committed
Clarify a #define introduced in 8d29905.
The value is the same, but use the right symbol for clarity.
1 parent 84d5efa commit 24bf379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/utils/pg_locale.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* https://www.unicode.org/versions/Unicode16.0.0/core-spec/chapter-5/#G29675
3939
*/
4040
#define UNICODE_CASEMAP_LEN 3
41-
#define UNICODE_CASEMAP_BUFSZ (UNICODE_CASEMAP_LEN * sizeof(char32_t))
41+
#define UNICODE_CASEMAP_BUFSZ (UNICODE_CASEMAP_LEN * MAX_MULTIBYTE_CHAR_LEN)
4242

4343
/* GUC settings */
4444
extern PGDLLIMPORT char *locale_messages;

0 commit comments

Comments
 (0)