PostgreSQL Source Code
git master
|
Go to the source code of this file.
Macros | |
#define | ECPG_GETOPT_LONG_REGRESSION 1 |
Functions | |
static void | help (const char *progname) |
static void | add_include_path (char *path) |
static void | add_preprocessor_define (char *define) |
int | main (int argc, char *const argv[]) |
Variables | |
int | ret_value = 0 |
bool | autocommit = false |
bool | auto_create_c = false |
bool | system_includes = false |
bool | force_indicator = true |
bool | questionmarks = false |
bool | regression_mode = false |
bool | auto_prepare = false |
char * | output_filename |
enum COMPAT_MODE | compat = ECPG_COMPAT_PGSQL |
struct _include_path * | include_paths = NULL |
struct cursor * | cur = NULL |
struct typedefs * | types = NULL |
struct _defines * | defines = NULL |
struct declared_list * | g_declared_list = NULL |
|
static |
Definition at line 67 of file ecpg.c.
References include_paths, mm_alloc(), _include_path::next, and _include_path::path.
Referenced by main().
|
static |
Definition at line 89 of file ecpg.c.
References _defines::cmdvalue, defines, mm_alloc(), mm_strdup(), _defines::name, _defines::next, _defines::used, and _defines::value.
Referenced by main().
|
static |
int main | ( | int | argc, |
char *const | argv[] | ||
) |
Definition at line 129 of file ecpg.c.
References _, add_include_path(), add_preprocessor_define(), cursor::argsinsert, cursor::argsresult, auto_create_c, auto_prepare, autocommit, base_yyin, base_yyout, base_yyparse(), _defines::cmdvalue, cursor::command, compat, cursor::connection, cur, defines, ECPG_COMPAT_INFORMIX, ECPG_COMPAT_INFORMIX_SE, ECPG_COMPAT_ORACLE, ECPG_GETOPT_LONG_REGRESSION, ecpg_internal_var, ECPGfree_struct_member(), ET_WARNING, exit(), find_my_exec(), force_indicator, fprintf, free, g_declared_list, get_include_path(), get_pkginclude_path(), get_progname(), getopt_long(), help(), ILLEGAL_OPTION, include_paths, INFORMIX_MODE, input_filename, last_dir_separator(), lex_init(), sort-test::list, MAXPGPATH, mm_alloc(), mm_strdup(), mmerror(), my_exec_path, cursor::name, typedefs::name, _defines::name, _include_path::next, cursor::next, typedefs::next, _defines::next, arguments::next, no_argument, cursor::opened, optarg, optind, output_filename, output_line_number(), PARSE_ERROR, _include_path::path, PG_BINARY_R, PG_BINARY_W, pg_strcasecmp(), PG_TEXTDOMAIN, printf, progname, questionmarks, regression_mode, ret_value, set_pglocale_pgservice(), snprintf, generate_unaccent_rules::stdout, struct_member_list, typedefs::struct_member_list, system_includes, typedefs::type, types, _defines::value, verbose, and when_warn.
Definition at line 21 of file ecpg.c.
Referenced by main(), and output_statement().
Definition at line 15 of file ecpg.c.
Referenced by ECPGconnect(), and main().
enum COMPAT_MODE compat = ECPG_COMPAT_PGSQL |
Definition at line 23 of file ecpg.c.
Referenced by AddStmtToCache(), decompose_code(), ecpg_auto_prepare(), ecpg_build_compat_sqlda(), ecpg_build_native_sqlda(), ecpg_check_PQresult(), ecpg_do(), ecpg_do_prologue(), ecpg_freeStmtCacheEntry(), ecpg_get_data(), ecpg_raise_backend(), ecpg_set_compat_sqlda(), ecpg_set_native_sqlda(), ECPGconnect(), ECPGdeallocate_all(), ECPGdescribe(), ECPGdo(), garbage_left(), get_decomposed_size(), main(), output_deallocate_prepare_statement(), output_statement(), outzone(), sqlda_common_total_size(), sqlda_compat_total_size(), sqlda_dynamic_type(), sqlda_native_total_size(), stringrule(), stringzone(), and unicode_normalize().
struct cursor* cur = NULL |
Definition at line 28 of file ecpg.c.
Referenced by _bt_advance_array_keys(), _bt_binsrch_array_skey(), _bt_compare_array_skey(), _bt_first(), _bt_preprocess_array_keys(), _bt_rewind_nonrequired_arrays(), _bt_tuple_before_array_skeys(), _hash_first(), addItemsToLeaf(), addToResult(), array_to_tsvector(), BeginCopyFrom(), BeginCopyTo(), count_spaces(), count_spaces_until(), create_range_bounds(), DoCopy(), DoCopyTo(), dsynonym_init(), executeNextItem(), fallbackSplit(), gbt_num_union(), gbt_var_picksplit(), gbt_var_union(), get_docrep(), gin_leafpage_items(), gist_box_union(), hashing(), IdentifySystem(), inet_net_ntop_ipv6(), IssuePendingWritebacks(), ltree_union(), main(), my_pv_display(), NextCopyFrom(), NextCopyFromRawFields(), NormalizeSubWord(), parse_lquery(), pg_current_snapshot(), pg_get_backend_memory_contexts(), pg_snapshot_recv(), pgstat_flush_pending_entries(), plainnode(), pqFreeCommandQueue(), printProgressReport(), PutMemoryContextsStatsTupleStore(), queryin(), read_dictionary(), remove_variables(), ReorderBufferRestoreCleanup(), slist_delete(), test_timing(), tsvector_strip(), tsvectorin(), vacuum(), and XmlTableGetValue().
struct _defines* defines = NULL |
Definition at line 30 of file ecpg.c.
Referenced by add_preprocessor_define(), and main().
Definition at line 18 of file ecpg.c.
Referenced by ecpg_do(), ecpg_do_prologue(), ecpg_get_data(), ecpg_store_input(), ECPGdo(), main(), and output_statement().
struct declared_list* g_declared_list = NULL |
struct _include_path* include_paths = NULL |
Definition at line 27 of file ecpg.c.
Referenced by add_include_path(), and main().
char* output_filename |
Definition at line 23 of file ecpg.c.
Referenced by main(), mmfatal(), reconstruct_from_incremental_file(), write_backup_label(), write_block(), and write_reconstructed_file().
Definition at line 19 of file ecpg.c.
Referenced by ecpg_do(), ecpg_do_prologue(), ECPGdo(), ECPGprepare(), main(), next_insert(), output_prepare_statement(), and output_statement().
int ret_value = 0 |
Definition at line 14 of file ecpg.c.
Referenced by main(), and vmmerror().
struct typedefs* types = NULL |
Definition at line 29 of file ecpg.c.
Referenced by BuildDescFromLists(), CreateStatistics(), extract_variadic_args(), get_typedef(), json_build_array(), json_build_array_worker(), json_build_object(), json_build_object_worker(), jsonb_build_array(), jsonb_build_array_worker(), jsonb_build_object(), jsonb_build_object_worker(), main(), PLy_procedure_create(), remove_typedefs(), stats_fill_fcinfo_from_arg_pairs(), and writezone().