/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/include/common/unicode_limits.h
39 строк
1 KB
Jeff Davis
Generate unicode_limits.h.
18 июл 2026, 02:41
18 июл 2026, 02:41
2cf212d
Код
Авторство
О чём код?
/*------------------------------------------------------------------------- * * unicode_limits.h * Useful limits calculated from Unicode data. * * Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/common/unicode_limits.h * *------------------------------------------------------------------------- */ #ifndef UNICODE_LIMITS_H #define UNICODE_LIMITS_H /* * File auto-generated by src/common/unicode/generate-unicode_case_table.pl, * do not edit. */ /* * The maximum number of codepoints that can result from case mapping * of a single code point. See Unicode section 5.18 "Case Mappings". */ #define UNICODE_MAX_CASEMAP_CODEPOINTS 3 /* * The maximum expansion factor of a UTF8 string due to case mapping. */ #define UTF8_MAX_CASEMAP_EXPANSION 3 /* * The maximum number of UTF8 bytes needed to store the result of case * mapping a single code point. */ #define UTF8_CASEMAP_BUFSZ 6 #endif