|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Data Structures | |
| struct | encoding_match |
Functions | |
| int | pg_get_encoding_from_locale (const char *ctype, bool write_message) |
Variables | |
| static const struct encoding_match | encoding_match_list [] |
| int pg_get_encoding_from_locale | ( | const char * | ctype, |
| bool | write_message | ||
| ) |
Definition at line 301 of file chklocale.c.
References _, encoding_match_list, ereport, errmsg(), fprintf, free, i, locale_t, encoding_match::pg_enc_code, PG_SQL_ASCII, pg_strcasecmp(), PG_UTF8, setlocale, encoding_match::system_enc_name, and WARNING.
Referenced by cache_locale_time(), check_encoding_locale_matches(), check_locale_encoding(), main(), PGLC_localeconv(), pqConnectOptions2(), PQsetClientEncoding(), and setup_locale_encoding().
|
static |
Definition at line 45 of file chklocale.c.
Referenced by pg_get_encoding_from_locale().