|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Data Structures | |
| struct | pg_encname |
Macros | |
| #define | DEF_ENC2NAME(name, codepage) { #name, PG_##name } |
Typedefs | |
| typedef struct pg_encname | pg_encname |
Functions | |
| StaticAssertDecl (lengthof(pg_enc2icu_tbl)==PG_ENCODING_BE_LAST+1, "pg_enc2icu_tbl incomplete") | |
| bool | is_encoding_supported_by_icu (int encoding) |
| const char * | get_encoding_name_for_icu (int encoding) |
| int | pg_valid_client_encoding (const char *name) |
| int | pg_valid_server_encoding (const char *name) |
| int | pg_valid_server_encoding_id (int encoding) |
| static char * | clean_encoding_name (const char *key, char *newkey) |
| int | pg_char_to_encoding (const char *name) |
| const char * | pg_encoding_to_char (int encoding) |
Variables | |
| static const pg_encname | pg_encname_tbl [] |
| const pg_enc2name | pg_enc2name_tbl [] |
| const char * | pg_enc2gettext_tbl [] |
| static const char *const | pg_enc2icu_tbl [] |
Definition at line 300 of file encnames.c.
| typedef struct pg_encname pg_encname |
Definition at line 516 of file encnames.c.
References fb().
Referenced by pg_char_to_encoding().
Definition at line 464 of file encnames.c.
References encoding, fb(), pg_enc2icu_tbl, and PG_VALID_BE_ENCODING.
Definition at line 453 of file encnames.c.
References encoding, fb(), pg_enc2icu_tbl, and PG_VALID_BE_ENCODING.
Referenced by check_icu_locale_encoding(), createdb(), DefineCollation(), and lookup_collation().
Definition at line 541 of file encnames.c.
References clean_encoding_name(), fb(), lengthof, name, NAMEDATALEN, pg_encname_tbl, and result.
Definition at line 579 of file encnames.c.
References Assert, encoding, pg_enc2name::encoding, pg_enc2name::name, pg_enc2name_tbl, and PG_VALID_ENCODING.
Definition at line 477 of file encnames.c.
References enc, name, pg_char_to_encoding, and PG_VALID_FE_ENCODING.
Referenced by check_client_encoding().
Definition at line 491 of file encnames.c.
References enc, name, pg_char_to_encoding, and PG_VALID_BE_ENCODING.
Definition at line 505 of file encnames.c.
References encoding, and PG_VALID_BE_ENCODING.
| StaticAssertDecl | ( | lengthof(pg_enc2icu_tbl) | = =PG_ENCODING_BE_LAST+1, |
| "pg_enc2icu_tbl incomplete" | |||
| ) |
Definition at line 354 of file encnames.c.
Definition at line 407 of file encnames.c.
Referenced by get_encoding_name_for_icu(), and is_encoding_supported_by_icu().
| const pg_enc2name pg_enc2name_tbl[] |
Definition at line 305 of file encnames.c.
Referenced by check_encoding_conversion_args(), InitializeClientEncoding(), pg_any_to_server(), pg_encoding_to_char(), pg_unicode_to_server(), report_invalid_encoding_int(), report_untranslatable_char(), SetClientEncoding(), SetDatabaseEncoding(), SetMessageEncoding(), and test_enc_setup().
|
static |
Definition at line 39 of file encnames.c.
Referenced by pg_char_to_encoding().