All Products
Search
Document Center

PolarDB:pg_ts_parser

Last Updated:Jun 12, 2024

The pg_ts_parser catalog contains entries defining text search parsers. A parser is responsible for splitting input text into lexemes and assigning a token type to each lexeme. Since a parser must be implemented by C-language-level functions, creation of new parsers is restricted to database superusers.

Column

Type

Description

oid

oid

Row identifier

prsname

name

Text search parser name

prsnamespace

oid

The OID of the namespace that contains this parser

prsstart

regproc

OID of the parser's startup function

prstoken

regproc

OID of the parser's next-token function

prsend

regproc

OID of the parser's shutdown function

prsheadline

regproc

OID of the parser's headline function (zero if none)

prslextype

regproc

OID of the parser's lextype function