projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84d5efa
)
Clarify a #define introduced in 8d299052fe.
author
Jeff Davis
<
[email protected]
>
Tue, 16 Dec 2025 20:48:53 +0000
(12:48 -0800)
committer
Jeff 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
patch
|
blob
|
blame
|
history
diff --git
a/src/include/utils/pg_locale.h
b/src/include/utils/pg_locale.h
index a533463d5b744e4b6223a37049eeb10f0b15d857..6cf1985963d7e52c29c92ee3face97a8125b81e3 100644
(file)
--- 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;