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 86 of file ecpg.c.
References defines, mm_alloc(), mm_strdup(), _defines::newdef, _defines::next, _defines::olddef, _defines::pertinent, and _defines::used.
Referenced by main().
|
static |
int main | ( | int | argc, |
char *const | argv[] | ||
) |
Definition at line 118 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(), cursor::command, compat, cursor::connection, defines, ECPG_COMPAT_INFORMIX, ECPG_COMPAT_INFORMIX_SE, ECPG_COMPAT_ORACLE, ECPG_GETOPT_LONG_REGRESSION, ecpg_internal_var, ECPGfree_struct_member(), ET_WARNING, find_my_exec(), force_indicator, fprintf, free, get_include_path(), get_pkginclude_path(), get_progname(), getopt_long(), help(), ILLEGAL_OPTION, 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::newdef, _include_path::next, cursor::next, declared_list::next, typedefs::next, _defines::next, arguments::next, next, no_argument, _defines::olddef, cursor::opened, optarg, optind, output_filename, output_line_number(), PARSE_ERROR, _include_path::path, _defines::pertinent, 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, strerror, struct_member_list, typedefs::struct_member_list, system_includes, typedefs::type, 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 25 of file ecpg.c.
Referenced by ecpg_do_prologue(), ECPGconnect(), main(), output_deallocate_prepare_statement(), output_statement(), outzone(), stringrule(), stringzone(), and unicode_normalize().
struct cursor* cur = NULL |
Definition at line 28 of file ecpg.c.
Referenced by _bt_first(), _bt_preprocess_array_keys(), _bt_preprocess_keys(), _hash_first(), addItemsToLeaf(), array_to_tsvector(), BeginCopyFrom(), BeginCopyTo(), CopyOneRowTo(), create_range_bounds(), DoCopy(), DoCopyTo(), dsynonym_init(), 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(), ltxtq_recv(), NextCopyFrom(), NormalizeSubWord(), parse_lquery(), pg_current_snapshot(), pg_snapshot_recv(), plainnode(), pqFreeCommandQueue(), printProgressReport(), queryin(), read_dictionary(), remove_variables(), ReorderBufferRestoreCleanup(), slist_delete(), SPI_sql_row_to_xmlelement(), 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_prologue(), 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().
Definition at line 19 of file ecpg.c.
Referenced by ecpg_do_prologue(), main(), output_prepare_statement(), and output_statement().
struct typedefs* types = NULL |
Definition at line 29 of file ecpg.c.
Referenced by CreateStatistics(), get_typedef(), json_build_array(), json_build_object(), jsonb_build_array(), jsonb_build_object(), limitrange(), PLy_procedure_create(), remove_typedefs(), and writezone().