postgresql_16:8.2.62 pg_ts_parser
PostgreSQL 16 > Internals > System Catalogs > pg_ts_parser
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.
PostgreSQL's text search features are described at length in (see postgresql_16:3.9).
| Column Type Description | | --- | | oid oid Row identifier | | prsname name Text search parser name | | prsnamespace oid (references pg_namespace (see postgresql_16:8.2.32).oid) The OID of the namespace that contains this parser | | prsstart regproc (references pg_proc (see postgresql_16:8.2.39).oid) OID of the parser's startup function | | prstoken regproc (references pg_proc (see postgresql_16:8.2.39).oid) OID of the parser's next-token function | | prsend regproc (references pg_proc (see postgresql_16:8.2.39).oid) OID of the parser's shutdown function | | prsheadline regproc (references pg_proc (see postgresql_16:8.2.39).oid) OID of the parser's headline function (zero if none) | | prslextype regproc (references pg_proc (see postgresql_16:8.2.39).oid) OID of the parser's lextype function |