|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "lib/stringinfo.h"#include "nodes/pg_list.h"#include "replication/syncrep.h"#include "syncrep_gram.h"
Go to the source code of this file.
Data Structures | |
| struct | syncrep_yy_extra_type |
Macros | |
| #define | fprintf(file, fmt, msg) fprintf_to_ereport(fmt, msg) |
| #define | YY_DECL extern int syncrep_yylex(union YYSTYPE *yylval_param, char **syncrep_parse_error_msg_p, yyscan_t yyscanner) |
| #define | yyextra (((struct yyguts_t *) yyscanner)->yyextra_r) |
Functions | |
| static void | fprintf_to_ereport (const char *fmt, const char *msg) |
| int | yylex (YYSTYPE *yylval_param, yyscan_t yyscanner) |
| void | syncrep_yyerror (SyncRepConfigData **syncrep_parse_result_p, char **syncrep_parse_error_msg_p, yyscan_t yyscanner, const char *message) |
| void | syncrep_scanner_init (const char *str, yyscan_t *yyscannerp) |
| void | syncrep_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 32 of file syncrep_scanner.l.
| #define YY_DECL extern int syncrep_yylex(union YYSTYPE *yylval_param, char **syncrep_parse_error_msg_p, yyscan_t yyscanner) |
Definition at line 50 of file syncrep_scanner.l.
| #define yyextra (((struct yyguts_t *) yyscanner)->yyextra_r) |
Definition at line 144 of file syncrep_scanner.l.
|
static |
Definition at line 35 of file syncrep_scanner.l.
References ereport, errmsg_internal(), and ERROR.
| void syncrep_scanner_finish | ( | yyscan_t | yyscanner | ) |
Definition at line 189 of file syncrep_scanner.l.
References pfree(), and yyextra.
Referenced by check_synchronous_standby_names().
| void syncrep_scanner_init | ( | const char * | str, |
| yyscan_t * | yyscannerp | ||
| ) |
Definition at line 173 of file syncrep_scanner.l.
References elog, ERROR, palloc0_object, and str.
Referenced by check_synchronous_standby_names().
| void syncrep_yyerror | ( | SyncRepConfigData ** | syncrep_parse_result_p, |
| char ** | syncrep_parse_error_msg_p, | ||
| yyscan_t | yyscanner, | ||
| const char * | message | ||
| ) |
Definition at line 156 of file syncrep_scanner.l.
References psprintf().
| void * yyalloc | ( | yy_size_t | size, |
| yyscan_t | yyscanner | ||
| ) |
Definition at line 201 of file syncrep_scanner.l.
References palloc().
| void yyfree | ( | void * | ptr, |
| yyscan_t | yyscanner | ||
| ) |
Definition at line 216 of file syncrep_scanner.l.
References pfree().
Definition at line 89 of file syncrep_scanner.l.
| void * yyrealloc | ( | void * | ptr, |
| yy_size_t | size, | ||
| yyscan_t | yyscanner | ||
| ) |
Definition at line 207 of file syncrep_scanner.l.
References palloc(), and repalloc().