4 The pg_ts_parser catalog contains entries defining text search parsers.
5 A parser is responsible for splitting input text into lexemes and
6 assigning a token type to each lexeme. Since a parser must be
7 implemented by C-language-level functions, creation of new parsers is
8 restricted to database superusers.
10 PostgreSQL's text search features are described at length in
13 Table 52.62. pg_ts_parser Columns
25 Text search parser name
27 prsnamespace oid (references pg_namespace.oid)
29 The OID of the namespace that contains this parser
31 prsstart regproc (references pg_proc.oid)
33 OID of the parser's startup function
35 prstoken regproc (references pg_proc.oid)
37 OID of the parser's next-token function
39 prsend regproc (references pg_proc.oid)
41 OID of the parser's shutdown function
43 prsheadline regproc (references pg_proc.oid)
45 OID of the parser's headline function (zero if none)
47 prslextype regproc (references pg_proc.oid)
49 OID of the parser's lextype function