PostgreSQL Source Code
git master
Loading...
Searching...
No Matches
unicode_limits.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* unicode_limits.h
4
* Useful limits calculated from Unicode data.
5
*
6
* Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
8
*
9
* src/include/common/unicode_limits.h
10
*
11
*-------------------------------------------------------------------------
12
*/
13
14
#ifndef UNICODE_LIMITS_H
15
#define UNICODE_LIMITS_H
16
17
/*
18
* File auto-generated by src/common/unicode/generate-unicode_case_table.pl,
19
* do not edit.
20
*/
21
22
/*
23
* The maximum number of codepoints that can result from case mapping
24
* of a single code point. See Unicode section 5.18 "Case Mappings".
25
*/
26
#define UNICODE_MAX_CASEMAP_CODEPOINTS 3
27
28
/*
29
* The maximum expansion factor of a UTF8 string due to case mapping.
30
*/
31
#define UTF8_MAX_CASEMAP_EXPANSION 3
32
33
/*
34
* The maximum number of UTF8 bytes needed to store the result of case
35
* mapping a single code point.
36
*/
37
#define UTF8_CASEMAP_BUFSZ 6
38
39
#endif
src
include
common
unicode_limits.h
Generated on Tue Jul 21 2026 13:13:16 for PostgreSQL Source Code by
1.9.8