|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "catalog/pg_database.h"#include "catalog/pg_collation.h"#include "common/unicode_case.h"#include "common/unicode_category.h"#include "miscadmin.h"#include "utils/builtins.h"#include "utils/pg_locale.h"#include "utils/syscache.h"
Go to the source code of this file.
Data Structures | |
| struct | WordBoundaryState |
Variables | |
| static const struct ctype_methods | ctype_methods_builtin |
|
static |
Definition at line 189 of file pg_locale_builtin.c.
References IS_HIGHBIT_SET.
| pg_locale_t create_pg_locale_builtin | ( | Oid | collid, |
| MemoryContext | context | ||
| ) |
Definition at line 228 of file pg_locale_builtin.c.
References pg_locale_struct::builtin, builtin_validate_locale(), pg_locale_struct::casemap_full, pg_locale_struct::collate_is_c, collid, pg_locale_struct::ctype, pg_locale_struct::ctype_is_c, ctype_methods_builtin, pg_locale_struct::deterministic, elog, ERROR, GetDatabaseEncoding(), HeapTupleIsValid, pg_locale_struct::locale, MemoryContextAllocZero(), MemoryContextStrdup(), MyDatabaseId, ObjectIdGetDatum(), ReleaseSysCache(), SearchSysCache1(), SysCacheGetAttrNotNull(), and TextDatumGetCString.
Referenced by create_pg_locale(), and init_database_collation().
| char * get_collation_actual_version_builtin | ( | const char * | collcollate | ) |
Definition at line 276 of file pg_locale_builtin.c.
References ereport, errcode(), errmsg(), and ERROR.
Referenced by get_collation_actual_version().
|
static |
Definition at line 59 of file pg_locale_builtin.c.
References WordBoundaryState::init, WordBoundaryState::len, WordBoundaryState::offset, pg_u_isalnum(), WordBoundaryState::posix, WordBoundaryState::prev_alnum, WordBoundaryState::str, unicode_utf8len(), and utf8_to_unicode().
Referenced by strtitle_builtin().
|
static |
Definition at line 121 of file pg_locale_builtin.c.
References generate_unaccent_rules::dest, locale, and unicode_strfold().
|
static |
Definition at line 87 of file pg_locale_builtin.c.
References generate_unaccent_rules::dest, locale, and unicode_strlower().
|
static |
Definition at line 95 of file pg_locale_builtin.c.
References generate_unaccent_rules::dest, initcap_wbnext(), locale, WordBoundaryState::str, and unicode_strtitle().
|
static |
Definition at line 113 of file pg_locale_builtin.c.
References generate_unaccent_rules::dest, locale, and unicode_strupper().
Definition at line 41 of file pg_locale_builtin.c.
References Assert(), GetDatabaseEncoding(), and PG_UTF8.
Referenced by wc_isalnum_builtin(), wc_isalpha_builtin(), wc_isdigit_builtin(), wc_isgraph_builtin(), wc_islower_builtin(), wc_isprint_builtin(), wc_ispunct_builtin(), wc_isspace_builtin(), wc_isupper_builtin(), wc_isxdigit_builtin(), wc_tolower_builtin(), and wc_toupper_builtin().
Definition at line 48 of file pg_locale_builtin.c.
References Assert(), GetDatabaseEncoding(), and PG_UTF8.
Referenced by wc_tolower_builtin(), and wc_toupper_builtin().
|
static |
Definition at line 141 of file pg_locale_builtin.c.
References locale, pg_u_isalnum(), and to_char32().
|
static |
Definition at line 135 of file pg_locale_builtin.c.
References pg_u_isalpha(), and to_char32().
|
static |
Definition at line 129 of file pg_locale_builtin.c.
References locale, pg_u_isdigit(), and to_char32().
|
static |
Definition at line 159 of file pg_locale_builtin.c.
References pg_u_isgraph(), and to_char32().
|
static |
Definition at line 153 of file pg_locale_builtin.c.
References pg_u_islower(), and to_char32().
|
static |
Definition at line 165 of file pg_locale_builtin.c.
References pg_u_isprint(), and to_char32().
|
static |
Definition at line 171 of file pg_locale_builtin.c.
References locale, pg_u_ispunct(), and to_char32().
|
static |
Definition at line 177 of file pg_locale_builtin.c.
References pg_u_isspace(), and to_char32().
|
static |
Definition at line 147 of file pg_locale_builtin.c.
References pg_u_isupper(), and to_char32().
|
static |
Definition at line 183 of file pg_locale_builtin.c.
References locale, pg_u_isxdigit(), and to_char32().
|
static |
Definition at line 202 of file pg_locale_builtin.c.
References to_char32(), to_pg_wchar(), and unicode_lowercase_simple().
|
static |
Definition at line 196 of file pg_locale_builtin.c.
References to_char32(), to_pg_wchar(), and unicode_uppercase_simple().
|
static |
Definition at line 207 of file pg_locale_builtin.c.
Referenced by create_pg_locale_builtin().