]> begriffs open source - ai-pg/blob - full-docs/txt/catalog-pg-ts-parser.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / catalog-pg-ts-parser.txt
1
2 52.62. pg_ts_parser #
3
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.
9
10    PostgreSQL's text search features are described at length in
11    Chapter 12.
12
13    Table 52.62. pg_ts_parser Columns
14
15    Column Type
16
17    Description
18
19    oid oid
20
21    Row identifier
22
23    prsname name
24
25    Text search parser name
26
27    prsnamespace oid (references pg_namespace.oid)
28
29    The OID of the namespace that contains this parser
30
31    prsstart regproc (references pg_proc.oid)
32
33    OID of the parser's startup function
34
35    prstoken regproc (references pg_proc.oid)
36
37    OID of the parser's next-token function
38
39    prsend regproc (references pg_proc.oid)
40
41    OID of the parser's shutdown function
42
43    prsheadline regproc (references pg_proc.oid)
44
45    OID of the parser's headline function (zero if none)
46
47    prslextype regproc (references pg_proc.oid)
48
49    OID of the parser's lextype function