|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Data Structures | |
| struct | lconv_member_info |
Macros | |
| #define | LCONV_M(is_string, category, name, item) { is_string, category, offsetof(struct lconv, name) } |
| #define | LCONV_S(c, n, i) LCONV_M(true, c, n, i) |
| #define | LCONV_C(c, n, i) LCONV_M(false, c, n, i) |
Functions | |
| static char ** | lconv_string_member (struct lconv *lconv, int i) |
| static char * | lconv_char_member (struct lconv *lconv, int i) |
| void | pg_localeconv_free (struct lconv *lconv) |
| static int | pg_localeconv_copy_members (struct lconv *dst, struct lconv *src, int category) |
| int | pg_localeconv_r (const char *lc_monetary, const char *lc_numeric, struct lconv *output) |
Variables | |
| static const struct lconv_member_info | table [] |
Definition at line 52 of file pg_localeconv_r.c.
| #define LCONV_M | ( | is_string, | |
| category, | |||
| name, | |||
| item | |||
| ) | { is_string, category, offsetof(struct lconv, name) } |
Definition at line 48 of file pg_localeconv_r.c.
|
inlinestatic |
Definition at line 94 of file pg_localeconv_r.c.
References i, lconv_member_info::offset, and table.
Referenced by pg_localeconv_copy_members().
|
inlinestatic |
Definition at line 88 of file pg_localeconv_r.c.
References i, lconv_member_info::offset, and table.
Referenced by pg_localeconv_copy_members(), and pg_localeconv_free().
|
static |
Definition at line 155 of file pg_localeconv_r.c.
References lconv_member_info::category, i, lconv_member_info::is_string, lconv_char_member(), lconv_string_member(), lengthof, pg_localeconv_free(), and table.
Referenced by pg_localeconv_r().
| void pg_localeconv_free | ( | struct lconv * | lconv | ) |
Definition at line 104 of file pg_localeconv_r.c.
References free, i, lconv_member_info::is_string, lconv_string_member(), lengthof, and table.
Referenced by pg_localeconv_copy_members(), and PGLC_localeconv().
| int pg_localeconv_r | ( | const char * | lc_monetary, |
| const char * | lc_numeric, | ||
| struct lconv * | output | ||
| ) |
Definition at line 231 of file pg_localeconv_r.c.
References free, lc_monetary, lc_numeric, locale_t, output, pg_localeconv_copy_members(), PTHREAD_MUTEX_INITIALIZER, pthread_mutex_lock(), pthread_mutex_unlock(), and setlocale.
Referenced by PGLC_localeconv().
|
static |
Definition at line 63 of file pg_localeconv_r.c.
Referenced by afterTriggerDeleteHeadEventChunk(), AfterTriggerFreeQuery(), appendQualifiedRelation(), before_stmt_triggers_fired(), byword(), cancel_prior_stmt_triggers(), check_selective_binary_conversion(), cluster_one_database(), convert_int_from_base_unit(), convert_real_from_base_unit(), convert_to_base_unit(), create_foreign_modify(), deparseRelation(), fileGetOptions(), get_batch_size_option(), get_table_relkind(), GetAfterTriggersStoreSlot(), GetAfterTriggersTableData(), initCreateTables(), initialize_worker_spi(), initPopulateTable(), lconv_char_member(), lconv_string_member(), MakeTransitionCaptureState(), mbbisearch(), pg_localeconv_copy_members(), pg_localeconv_free(), postgresAcquireSampleRowsFunc(), postgresAnalyzeForeignTable(), postgresBeginDirectModify(), postgresBeginForeignScan(), postgresExecForeignTruncate(), postgresGetAnalyzeInfoForForeignTable(), postgresIsForeignRelUpdatable(), prepare_vacuum_command(), run_vacuum_command(), splitTableColumnsSpec(), TransitionTableAddTuple(), vacuumlo(), and worker_spi_main().