|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "common/string.h"#include "nodes/miscnodes.h"#include "parser/scansup.h"#include "pgpa_ast.h"#include "pgpa_parser.h"Go to the source code of this file.
Data Structures | |
| struct | pgpa_yy_extra_type |
Macros | |
| #define | YY_DECL |
| #define | YY_READ_BUF_SIZE 16777216 |
| #define | fprintf(file, fmt, msg) fprintf_to_ereport(fmt, msg) |
Typedefs | |
| typedef struct pgpa_yy_extra_type | pgpa_yy_extra_type |
Functions | |
| static void | fprintf_to_ereport (const char *fmt, const char *msg) |
| int | yylex (YYSTYPE *yylval_param, yyscan_t yyscanner) |
| void | pgpa_yyerror (List **result, char **parse_error_msg_p, yyscan_t yyscanner, const char *message) |
| void | pgpa_scanner_init (const char *str, yyscan_t *yyscannerp) |
| void | pgpa_scanner_finish (yyscan_t yyscanner) |
| void * | yyalloc (yy_size_t size, yyscan_t yyscanner) |
| void * | yyrealloc (void *ptr, yy_size_t size, yyscan_t yyscanner) |
| void | yyfree (void *ptr, yyscan_t yyscanner) |
| #define fprintf | ( | file, | |
| fmt, | |||
| msg | |||
| ) | fprintf_to_ereport(fmt, msg) |
Definition at line 43 of file pgpa_scanner.l.
| #define YY_DECL |
Definition at line 34 of file pgpa_scanner.l.
| #define YY_READ_BUF_SIZE 16777216 |
Definition at line 39 of file pgpa_scanner.l.
Definition at line 46 of file pgpa_scanner.l.
References ereport, errmsg_internal(), and ERROR.
Definition at line 267 of file pgpa_scanner.l.
References fb().
Definition at line 244 of file pgpa_scanner.l.
References elog, ERROR, fb(), initStringInfo(), palloc0_object, and str.
| void pgpa_yyerror | ( | List ** | result, |
| char ** | parse_error_msg_p, | ||
| yyscan_t | yyscanner, | ||
| const char * | message | ||
| ) |
Definition at line 221 of file pgpa_scanner.l.
References fb(), and psprintf().
Definition at line 278 of file pgpa_scanner.l.
References palloc().
Definition at line 293 of file pgpa_scanner.l.
References pfree().
Definition at line 99 of file pgpa_scanner.l.
Definition at line 284 of file pgpa_scanner.l.
References palloc(), and repalloc().