#include "postgres.h"
#include <limits.h>
#include <wctype.h>
#include "access/htup_details.h"
#include "catalog/pg_database.h"
#include "catalog/pg_collation.h"
#include "mb/pg_wchar.h"
#include "miscadmin.h"
#include "utils/builtins.h"
#include "utils/formatting.h"
#include "utils/memutils.h"
#include "utils/pg_locale.h"
#include "utils/syscache.h"
Go to the source code of this file.
Definition at line 82 of file pg_locale_libc.c.
Definition at line 1187 of file pg_locale_libc.c.
References Assert(), ereport, errcode(), errhint(), errmsg(), ERROR, GetDatabaseEncoding(), locale_t, mbstowcs_l(), pfree(), PG_UTF8, pg_verifymbstr(), pnstrdup(), and str.
Referenced by strlower_libc_mb(), strtitle_libc_mb(), strupper_libc_mb(), t_isalnum(), t_isalpha(), and TParserInit().
Definition at line 237 of file pg_locale_libc.c.
References IS_HIGHBIT_SET, isalpha_l, locale, and pg_database_encoding_max_length().
Definition at line 230 of file pg_locale_libc.c.
References Assert(), locale, pg_database_encoding_max_length(), and tolower_l.
Definition at line 669 of file pg_locale_libc.c.
References pg_locale_struct::collate, pg_locale_struct::collate_is_c, collate_methods_libc, collid, pg_locale_struct::ctype, pg_locale_struct::ctype_is_c, ctype_methods_libc_other_mb, ctype_methods_libc_sb, ctype_methods_libc_utf8, pg_locale_struct::deterministic, elog, ERROR, GetDatabaseEncoding(), HeapTupleIsValid, if(), locale_t, pg_locale_struct::lt, make_libc_collator(), MemoryContextAllocZero(), MyDatabaseId, ObjectIdGetDatum(), pg_database_encoding_max_length(), PG_UTF8, ReleaseSysCache(), SearchSysCache1(), SysCacheGetAttrNotNull(), and TextDatumGetCString.
Referenced by create_pg_locale(), and init_database_collation().
Definition at line 911 of file pg_locale_libc.c.
References ereport, errmsg(), ERROR, locale_t, pg_strcasecmp(), pg_strncasecmp(), psprintf(), and pstrdup().
Referenced by get_collation_actual_version().
Definition at line 753 of file pg_locale_libc.c.
References ereport, errcode(), errmsg(), ERROR, locale_t, and report_newlocale_failure().
Referenced by create_pg_locale_libc().
Definition at line 1089 of file pg_locale_libc.c.
References generate_unaccent_rules::dest, and locale_t.
Referenced by char2wchar().
Definition at line 1055 of file pg_locale_libc.c.
References ereport, errcode(), errdetail(), errmsg(), and ERROR.
Referenced by cache_locale_time(), and make_libc_collator().
Definition at line 438 of file pg_locale_libc.c.
References char2wchar(), generate_unaccent_rules::dest, ereport, errcode(), errmsg(), ERROR, locale, locale_t, palloc(), pfree(), pg_database_encoding_max_length(), towlower_l, and wchar2char().
Definition at line 401 of file pg_locale_libc.c.
References generate_unaccent_rules::dest, locale, locale_t, pg_tolower(), and tolower_l.
Definition at line 824 of file pg_locale_libc.c.
References buf, locale, palloc(), pfree(), strcoll_l, and TEXTBUFLEN.
Definition at line 881 of file pg_locale_libc.c.
References Assert(), buf, bufsize, generate_unaccent_rules::dest, locale, palloc(), pfree(), strxfrm_l, and TEXTBUFLEN.
Definition at line 532 of file pg_locale_libc.c.
References char2wchar(), generate_unaccent_rules::dest, ereport, errcode(), errmsg(), ERROR, iswalnum_l, locale, locale_t, palloc(), pfree(), pg_database_encoding_max_length(), towlower_l, towupper_l, and wchar2char().
Definition at line 486 of file pg_locale_libc.c.
References generate_unaccent_rules::dest, isalnum_l, locale, locale_t, pg_tolower(), pg_toupper(), tolower_l, and toupper_l.
Definition at line 621 of file pg_locale_libc.c.
References char2wchar(), generate_unaccent_rules::dest, ereport, errcode(), errmsg(), ERROR, locale, locale_t, palloc(), pfree(), pg_database_encoding_max_length(), towupper_l, and wchar2char().
Definition at line 587 of file pg_locale_libc.c.
References generate_unaccent_rules::dest, locale, locale_t, pg_toupper(), and toupper_l.
Definition at line 290 of file pg_locale_libc.c.
References Assert(), GetDatabaseEncoding(), locale, pg_ascii_tolower(), PG_UTF8, and towlower_l.
Definition at line 276 of file pg_locale_libc.c.
References Assert(), GetDatabaseEncoding(), locale, pg_ascii_tolower(), PG_UTF8, and tolower_l.
Definition at line 262 of file pg_locale_libc.c.
References Assert(), GetDatabaseEncoding(), locale, pg_ascii_toupper(), PG_UTF8, and towupper_l.
Definition at line 248 of file pg_locale_libc.c.
References Assert(), GetDatabaseEncoding(), locale, pg_ascii_toupper(), PG_UTF8, and toupper_l.
Definition at line 188 of file pg_locale_libc.c.
References iswalnum_l, and locale.
Definition at line 122 of file pg_locale_libc.c.
Definition at line 152 of file pg_locale_libc.c.
Definition at line 146 of file pg_locale_libc.c.
Definition at line 158 of file pg_locale_libc.c.
Definition at line 164 of file pg_locale_libc.c.
Definition at line 170 of file pg_locale_libc.c.
Definition at line 140 of file pg_locale_libc.c.
Definition at line 1133 of file pg_locale_libc.c.
References Assert(), GetDatabaseEncoding(), locale_t, PG_UTF8, and wcstombs_l().
Referenced by strlower_libc_mb(), strtitle_libc_mb(), and strupper_libc_mb().
Definition at line 1105 of file pg_locale_libc.c.
References generate_unaccent_rules::dest, and locale_t.
Referenced by wchar2char().
Definition at line 366 of file pg_locale_libc.c.
Referenced by create_pg_locale_libc().
Definition at line 327 of file pg_locale_libc.c.
Referenced by create_pg_locale_libc().
Definition at line 303 of file pg_locale_libc.c.
Referenced by create_pg_locale_libc().
Definition at line 347 of file pg_locale_libc.c.
Referenced by create_pg_locale_libc().