历史版本。 PostgreSQL 9.2 已结束支持。 2017-11-09. 请参阅 当前版本手册.
45.48. pg_ts_parser #
pg_ts_parser系统目录包含定义文本检索解析器的项。一个解析器负责将输入文本分割成词位并为每一个词位分配一个词元类型。由于一个解析器必须用 C 语言级别的函数实现,创建新解析器的工作只限于数据库的超级用户。
PostgreSQL的文本检索特性在第 12 章中有更详尽的描述。
表 45.48. pg_ts_parser 列
| Name | Type | References | Description |
|---|---|---|---|
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 |
prslextype | regproc | | OID of the parser's lextype function |