2025年9月25日: PostgreSQL 18 发布!
支持版本: 当前 (18) / 17 / 16 / 15 / 14 / 13
开发版本: devel
不支持的版本: 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3

52.61. pg_ts_dict #

The pg_ts_dict catalog contains entries defining text search dictionaries. A dictionary depends on a text search template, which specifies all the implementation functions needed; the dictionary itself provides values for the user-settable parameters supported by the template. This division of labor allows dictionaries to be created by unprivileged users. The parameters are specified by a text string dictinitoption, whose format and meaning vary depending on the template.

PostgreSQL's text search features are described at length in Chapter 12.

表 52.61. pg_ts_dict

列 类型

描述

oid oid

行标识符

dictname name

文本搜索字典名称

dictnamespace oid (引用 pg_namespace.oid)

包含此字典的命名空间的 OID

dictowner oid (引用 pg_authid.oid)

字典的所有者

dicttemplate oid (引用 pg_ts_template.oid)

此字典的文本搜索模板的 OID

dictinitoption text

模板的初始化选项字符串


提交更正

如果您在文档中发现任何不正确、与您对特定功能的实际体验不符或需要进一步澄清的内容,请使用 此表格 报告文档问题。