PostgreSQL Source Code git master
|
#include "postgres.h"
#include "nodes/parsenodes.h"
#include "utils/builtins.h"
#include "parser/scansup.h"
#include "replication/walsender_private.h"
#include "repl_gram.h"
Go to the source code of this file.
Data Structures | |
struct | replication_yy_extra_type |
Macros | |
#define | fprintf(file, fmt, msg) fprintf_to_ereport(fmt, msg) |
Functions | |
static void | fprintf_to_ereport (const char *fmt, const char *msg) |
static void | startlit (yyscan_t yyscanner) |
static char * | litbufdup (yyscan_t yyscanner) |
static void | addlit (char *ytext, int yleng, yyscan_t yyscanner) |
static void | addlitchar (unsigned char ychar, yyscan_t yyscanner) |
int | yylex (YYSTYPE *yylval_param, yyscan_t yyscanner) |
void | replication_yyerror (Node **replication_parse_result_p, yyscan_t yyscanner, const char *message) |
void | replication_scanner_init (const char *str, yyscan_t *yyscannerp) |
void | replication_scanner_finish (yyscan_t yyscanner) |
bool | replication_scanner_is_replication_command (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 33 of file repl_scanner.l.
|
static |
Definition at line 244 of file repl_scanner.l.
References appendBinaryStringInfo(), and yyextra.
|
static |
Definition at line 250 of file repl_scanner.l.
References appendStringInfoChar(), and yyextra.
|
static |
Definition at line 36 of file repl_scanner.l.
References ereport, errmsg_internal(), and ERROR.
|
static |
Definition at line 238 of file repl_scanner.l.
References yyextra.
void replication_scanner_finish | ( | yyscan_t | yyscanner | ) |
Definition at line 284 of file repl_scanner.l.
References pfree(), and yyextra.
Referenced by exec_replication_command().
void replication_scanner_init | ( | const char * | str, |
yyscan_t * | yyscannerp | ||
) |
Definition at line 268 of file repl_scanner.l.
References elog, ERROR, palloc0_object, and str.
Referenced by exec_replication_command().
bool replication_scanner_is_replication_command | ( | yyscan_t | yyscanner | ) |
Definition at line 299 of file repl_scanner.l.
References replication_yylex(), and yyextra.
Referenced by exec_replication_command().
void replication_yyerror | ( | Node ** | replication_parse_result_p, |
yyscan_t | yyscanner, | ||
const char * | message | ||
) |
Definition at line 260 of file repl_scanner.l.
References ereport, errcode(), errmsg_internal(), and ERROR.
|
static |
void * yyalloc | ( | yy_size_t | size, |
yyscan_t | yyscanner | ||
) |
Definition at line 331 of file repl_scanner.l.
void yyfree | ( | void * | ptr, |
yyscan_t | yyscanner | ||
) |
Definition at line 346 of file repl_scanner.l.
References pfree().
Definition at line 111 of file repl_scanner.l.
void * yyrealloc | ( | void * | ptr, |
yy_size_t | size, | ||
yyscan_t | yyscanner | ||
) |
Definition at line 337 of file repl_scanner.l.
References palloc(), repalloc(), and size.