PostgreSQL Source Code git master
|
Go to the source code of this file.
Data Structures | |
struct | ParserState |
struct | LexDescr |
Variables | |
PG_MODULE_MAGIC | |
PG_FUNCTION_INFO_V1 | ( | testprs_end | ) |
PG_FUNCTION_INFO_V1 | ( | testprs_getlexeme | ) |
PG_FUNCTION_INFO_V1 | ( | testprs_lextype | ) |
PG_FUNCTION_INFO_V1 | ( | testprs_start | ) |
Datum testprs_end | ( | PG_FUNCTION_ARGS | ) |
Definition at line 99 of file test_parser.c.
References pfree(), PG_GETARG_POINTER, and PG_RETURN_VOID.
Datum testprs_getlexeme | ( | PG_FUNCTION_ARGS | ) |
Definition at line 59 of file test_parser.c.
References ParserState::buffer, ParserState::len, PG_GETARG_POINTER, PG_RETURN_INT32, ParserState::pos, startpos, and type.
Datum testprs_lextype | ( | PG_FUNCTION_ARGS | ) |
Definition at line 108 of file test_parser.c.
References LexDescr::alias, LexDescr::descr, LexDescr::lexid, palloc(), PG_RETURN_POINTER, and pstrdup().
Datum testprs_start | ( | PG_FUNCTION_ARGS | ) |
Definition at line 47 of file test_parser.c.
References ParserState::buffer, ParserState::len, palloc0(), PG_GETARG_INT32, PG_GETARG_POINTER, PG_RETURN_POINTER, and ParserState::pos.
PG_MODULE_MAGIC |
Definition at line 17 of file test_parser.c.