PostgreSQL Source Code
git master
|
#include "fe_utils/psqlscan.h"
Go to the source code of this file.
Enumerations | |
enum | slash_option_type { OT_NORMAL , OT_SQLID , OT_SQLIDHACK , OT_FILEPIPE , OT_WHOLE_LINE } |
Functions | |
char * | psql_scan_slash_command (PsqlScanState state) |
char * | psql_scan_slash_option (PsqlScanState state, enum slash_option_type type, char *quote, bool semicolon) |
void | psql_scan_slash_command_end (PsqlScanState state) |
int | psql_scan_get_paren_depth (PsqlScanState state) |
void | psql_scan_set_paren_depth (PsqlScanState state, int depth) |
void | dequote_downcase_identifier (char *str, bool downcase, int encoding) |
enum slash_option_type |
Enumerator | |
---|---|
OT_NORMAL | |
OT_SQLID | |
OT_SQLIDHACK | |
OT_FILEPIPE | |
OT_WHOLE_LINE |
Definition at line 15 of file psqlscanslash.h.
void dequote_downcase_identifier | ( | char * | str, |
bool | downcase, | ||
int | encoding | ||
) |
Referenced by indexOfColumn().
int psql_scan_get_paren_depth | ( | PsqlScanState | state | ) |
Referenced by save_query_text_state().
void psql_scan_set_paren_depth | ( | PsqlScanState | state, |
int | depth | ||
) |
Referenced by discard_query_text().
char* psql_scan_slash_command | ( | PsqlScanState | state | ) |
Referenced by HandleSlashCmds().
void psql_scan_slash_command_end | ( | PsqlScanState | state | ) |
Referenced by HandleSlashCmds().
char* psql_scan_slash_option | ( | PsqlScanState | state, |
enum slash_option_type | type, | ||
char * | quote, | ||
bool | semicolon | ||
) |
Referenced by exec_command_bind(), exec_command_bind_named(), exec_command_C(), exec_command_cd(), exec_command_close(), exec_command_copy(), exec_command_crosstabview(), exec_command_d(), exec_command_dfo(), exec_command_echo(), exec_command_edit(), exec_command_ef_ev(), exec_command_encoding(), exec_command_f(), exec_command_g(), exec_command_getenv(), exec_command_gset(), exec_command_help(), exec_command_include(), exec_command_list(), exec_command_lo(), exec_command_out(), exec_command_parse(), exec_command_password(), exec_command_prompt(), exec_command_pset(), exec_command_s(), exec_command_set(), exec_command_setenv(), exec_command_sf_sv(), exec_command_shell_escape(), exec_command_slash_command_help(), exec_command_t(), exec_command_T(), exec_command_timing(), exec_command_unset(), exec_command_watch(), exec_command_write(), exec_command_x(), exec_command_z(), gather_boolean_expression(), HandleSlashCmds(), ignore_slash_filepipe(), ignore_slash_options(), ignore_slash_whole_line(), process_command_g_options(), and read_connect_arg().