16#include <unicode/ucol.h>
20#define LOCALE_NAME_BUFLEN 128
97 const char *src, ssize_t srclen,
100 const char *src, ssize_t srclen,
103 const char *src, ssize_t srclen,
106extern int pg_strncoll(
const char *arg1, ssize_t len1,
109extern size_t pg_strxfrm(
char *
dest,
const char *src,
size_t destsize,
125extern size_t wchar2char(
char *to,
const wchar_t *from,
size_t tolen,
127extern size_t char2wchar(
wchar_t *to,
size_t tolen,
size_t pg_strupper(char *dest, size_t destsize, const char *src, ssize_t srclen, pg_locale_t locale)
struct pg_locale_struct * pg_locale_t
size_t pg_strtitle(char *dest, size_t destsize, const char *src, ssize_t srclen, pg_locale_t locale)
PGDLLIMPORT int icu_validation_level
void cache_locale_time(void)
size_t pg_strnxfrm(char *dest, size_t destsize, const char *src, ssize_t srclen, pg_locale_t locale)
bool pg_strxfrm_enabled(pg_locale_t locale)
size_t wchar2char(char *to, const wchar_t *from, size_t tolen, pg_locale_t locale)
void icu_validate_locale(const char *loc_str)
char * get_collation_actual_version(char collprovider, const char *collcollate)
PGDLLIMPORT char * locale_time
pg_locale_t pg_newlocale_from_collation(Oid collid)
PGDLLIMPORT char * localized_abbrev_days[]
int builtin_locale_encoding(const char *locale)
size_t pg_strnxfrm_prefix(char *dest, size_t destsize, const char *src, ssize_t srclen, pg_locale_t locale)
char * pg_perm_setlocale(int category, const char *locale)
PGDLLIMPORT char * locale_numeric
PGDLLIMPORT char * localized_full_days[]
struct lconv * PGLC_localeconv(void)
int pg_strcoll(const char *arg1, const char *arg2, pg_locale_t locale)
PGDLLIMPORT char * localized_full_months[]
PGDLLIMPORT char * localized_abbrev_months[]
PGDLLIMPORT char * locale_monetary
bool pg_strxfrm_prefix_enabled(pg_locale_t locale)
char * icu_language_tag(const char *loc_str, int elevel)
PGDLLIMPORT char * locale_messages
int pg_strncoll(const char *arg1, ssize_t len1, const char *arg2, ssize_t len2, pg_locale_t locale)
void init_database_collation(void)
PGDLLIMPORT bool database_ctype_is_c
size_t pg_strxfrm(char *dest, const char *src, size_t destsize, pg_locale_t locale)
const char * builtin_validate_locale(int encoding, const char *locale)
bool check_locale(int category, const char *locale, char **canonname)
size_t pg_strlower(char *dest, size_t destsize, const char *src, ssize_t srclen, pg_locale_t locale)
size_t pg_strxfrm_prefix(char *dest, const char *src, size_t destsize, pg_locale_t locale)
size_t char2wchar(wchar_t *to, size_t tolen, const char *from, size_t fromlen, pg_locale_t locale)
union pg_locale_struct::@157 info
struct pg_locale_struct::@157::@158 builtin