Postgresql 中文操作指南

53.63. pg_ts_template #

pg_ts_template 目录中包含定义文本搜索模板的条目。模板是文本搜索词典类别的实现骨架。由于模板必须由 C 语言级别的函数实现,因此创建新模板仅限于数据库超级用户。

The pg_ts_template catalog contains entries defining text search templates. A template is the implementation skeleton for a class of text search dictionaries. Since a template must be implemented by C-language-level functions, creation of new templates is restricted to database superusers.

PostgreSQL 的文本搜索功能在 Chapter 12 中有详细的描述。

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

Table 53.63. pg_ts_template Columns

Table 53.63. pg_ts_template Columns

Column Type

Description

oid oid

Row identifier

tmplname name

Text search template name

tmplnamespace oid (references pg_namespace.oid)

The OID of the namespace that contains this template

tmplinit regproc (references pg_proc.oid)

OID of the template’s initialization function (zero if none)

tmpllexize regproc (references pg_proc.oid)

OID of the template’s lexize function