PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
static void | output_escaped_str (const char *str, bool quoted) |
void | output_line_number (void) |
void | output_simple_statement (const char *stmt, int whenever_mode) |
static void | print_action (struct when *w) |
void | whenever_action (int mode) |
char * | hashline_number (void) |
void | output_statement (const char *stmt, int whenever_mode, enum ECPG_statement_type st) |
void | output_prepare_statement (const char *name, const char *stmt) |
void | output_deallocate_prepare_statement (const char *name) |
Variables | |
struct when when_error when_nf | when_warn |
static char * | ecpg_statement_type_name [] |
char* hashline_number | ( | void | ) |
Definition at line 92 of file output.c.
References base_yylineno, generate_unaccent_rules::dest, input_filename, loc_alloc(), and sprintf.
Referenced by output_line_number().
void output_deallocate_prepare_statement | ( | const char * | name | ) |
Definition at line 178 of file output.c.
References base_yyout, compat, connection, fprintf, name, output_escaped_str(), and whenever_action().
|
static |
Definition at line 195 of file output.c.
References base_yyout, i, j, len, and str.
Referenced by output_deallocate_prepare_statement(), output_prepare_statement(), output_simple_statement(), and output_statement().
void output_line_number | ( | void | ) |
Definition at line 10 of file output.c.
References base_yyout, fprintf, and hashline_number().
Referenced by main(), output_simple_statement(), and whenever_action().
void output_prepare_statement | ( | const char * | name, |
const char * | stmt | ||
) |
Definition at line 167 of file output.c.
References base_yyout, fprintf, name, output_escaped_str(), questionmarks, stmt, and whenever_action().
void output_simple_statement | ( | const char * | stmt, |
int | whenever_mode | ||
) |
Definition at line 18 of file output.c.
References output_escaped_str(), output_line_number(), stmt, and whenever_action().
void output_statement | ( | const char * | stmt, |
int | whenever_mode, | ||
enum ECPG_statement_type | st | ||
) |
Definition at line 134 of file output.c.
References argsinsert, argsresult, auto_prepare, base_yyout, compat, dump_variables(), ecpg_statement_type_name, ECPGst_exec_immediate, ECPGst_execute, ECPGst_normal, ECPGst_prepnormal, force_indicator, fprintf, output_escaped_str(), questionmarks, reset_variables(), stmt, and whenever_action().
|
static |
Definition at line 35 of file output.c.
References base_yyout, when::code, when::command, fprintf, W_BREAK, W_CONTINUE, W_DO, W_GOTO, W_SQLPRINT, and W_STOP.
Referenced by whenever_action().
void whenever_action | ( | int | mode | ) |
Definition at line 64 of file output.c.
References base_yyout, when::code, fprintf, mode, output_line_number(), print_action(), W_NOTHING, and when_warn.
Referenced by output_deallocate_prepare_statement(), output_get_descr(), output_get_descr_header(), output_prepare_statement(), output_set_descr(), output_set_descr_header(), output_simple_statement(), and output_statement().
|
static |
Definition at line 124 of file output.c.
Referenced by output_statement().
struct when when_error when_nf when_warn |
Definition at line 18 of file output.c.
Referenced by main(), and whenever_action().