PostgreSQL Source Code  git master
pg_ts_parser.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_ts_parser_d.h"
Include dependency graph for pg_ts_parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FormData_pg_ts_parserForm_pg_ts_parser
 

Functions

 CATALOG (pg_ts_parser, 3601, TSParserRelationId)
 

Variables

 FormData_pg_ts_parser
 

Typedef Documentation

◆ Form_pg_ts_parser

Definition at line 55 of file pg_ts_parser.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_ts_parser  ,
3601  ,
TSParserRelationId   
)

Definition at line 29 of file pg_ts_parser.h.

References BKI_DEFAULT, and BKI_LOOKUP.

30 {
31  Oid oid; /* oid */
32 
33  /* parser's name */
34  NameData prsname;
35 
36  /* name space */
37  Oid prsnamespace BKI_DEFAULT(PGNSP);
38 
39  /* init parsing session */
40  regproc prsstart BKI_LOOKUP(pg_proc);
41 
42  /* return next token */
43  regproc prstoken BKI_LOOKUP(pg_proc);
44 
45  /* finalize parsing session */
46  regproc prsend BKI_LOOKUP(pg_proc);
47 
48  /* return data for headline creation */
49  regproc prsheadline BKI_LOOKUP(pg_proc);
50 
51  /* return descriptions of lexeme's types */
52  regproc prslextype BKI_LOOKUP(pg_proc);
FormData_pg_ts_parser
Definition: pg_ts_parser.h:53
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_DEFAULT(value)
Definition: genbki.h:35
Definition: c.h:610
#define BKI_LOOKUP(catalog)
Definition: genbki.h:42
Oid regproc
Definition: c.h:511

Variable Documentation

◆ FormData_pg_ts_parser

FormData_pg_ts_parser

Definition at line 53 of file pg_ts_parser.h.