#include "pqexpbuffer.h"
Go to the source code of this file.
Definition at line 27 of file psqlscan.h.
Enumerator | |
---|---|
PROMPT_READY | |
PROMPT_CONTINUE | |
PROMPT_COMMENT | |
PROMPT_SINGLEQUOTE | |
PROMPT_DOUBLEQUOTE | |
PROMPT_DOLLARQUOTE | |
PROMPT_PAREN | |
PROMPT_COPY |
Definition at line 39 of file psqlscan.h.
Enumerator | |
---|---|
PQUOTE_PLAIN | |
PQUOTE_SQL_LITERAL | |
PQUOTE_SQL_IDENT | |
PQUOTE_SHELL_ARG |
Definition at line 52 of file psqlscan.h.
Enumerator | |
---|---|
PSCAN_SEMICOLON | |
PSCAN_BACKSLASH | |
PSCAN_INCOMPLETE | |
PSCAN_EOL |
Definition at line 30 of file psqlscan.h.
Definition at line 1121 of file psqlscan.l.
References Assert(), fprintf, PQExpBufferData::len, LEXRES_BACKSLASH, LEXRES_EOL, LEXRES_SEMI, PROMPT_COMMENT, PROMPT_CONTINUE, PROMPT_DOLLARQUOTE, PROMPT_DOUBLEQUOTE, PROMPT_PAREN, PROMPT_READY, PROMPT_SINGLEQUOTE, PSCAN_BACKSLASH, PSCAN_EOL, PSCAN_INCOMPLETE, PSCAN_SEMICOLON, and yylex().
Referenced by MainLoop(), ParseScript(), and test_psql_parse().
Definition at line 1001 of file psqlscan.l.
References pg_malloc0(), and psql_scan_reset().
Referenced by main(), MainLoop(), ParseScript(), and test_psql_parse().
Definition at line 1022 of file psqlscan.l.
References free, psql_scan_finish(), and psql_scan_reset().
Referenced by main(), MainLoop(), ParseScript(), and test_psql_parse().
Definition at line 1248 of file psqlscan.l.
References free, and psqlscan_pop_buffer_stack().
Referenced by MainLoop(), ParseScript(), and psql_scan_destroy().
Definition at line 1335 of file psqlscan.l.
Referenced by expr_lex_one_word(), expr_yyerror_more(), and ParseScript().
Definition at line 1316 of file psqlscan.l.
Referenced by MainLoop().
Definition at line 1303 of file psqlscan.l.
Referenced by expr_lex_one_word(), expr_scanner_finish(), psql_scan_slash_command(), psql_scan_slash_command_end(), and psql_scan_slash_option().
Definition at line 1275 of file psqlscan.l.
References free.
Referenced by exec_command_reset(), exec_command_watch(), MainLoop(), psql_scan_create(), and psql_scan_destroy().
Definition at line 1041 of file psqlscan.l.
Referenced by main(), and MainLoop().
Definition at line 1059 of file psqlscan.l.
References Assert(), encoding, pg_valid_server_encoding_id, and psqlscan_prepare_buffer().
Referenced by main(), MainLoop(), ParseScript(), and test_psql_parse().