↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

支持中的版本: 当前版本 (18) / 17 / 16 / 15 / 14
开发中的版本: 19 / 20devel
已结束支持的版本: 13 / 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3
历史版本。 PostgreSQL 9.2 已结束支持。 2017-11-09. 请参阅 当前版本手册.

45.48. pg_ts_parser #

pg_ts_parser系统目录包含定义文本检索解析器的项。一个解析器负责将输入文本分割成词位并为每一个词位分配一个词元类型。由于一个解析器必须用 C 语言级别的函数实现,创建新解析器的工作只限于数据库的超级用户。

PostgreSQL的文本检索特性在第 12 章中有更详尽的描述。

表 45.48. pg_ts_parser 列

NameTypeReferencesDescription
prsnamename Text search parser name
prsnamespaceoidpg_namespace.oid The OID of the namespace that contains this parser
prsstartregprocpg_proc.oidOID of the parser's startup function
prstokenregprocpg_proc.oidOID of the parser's next-token function
prsendregprocpg_proc.oidOID of the parser's shutdown function
prsheadlineregprocpg_proc.oidOID of the parser's headline function
prslextyperegprocpg_proc.oidOID of the parser's lextype function

报告文档问题

阅读 上游文档. 反馈更正前请先核对 当前版本手册.