54.61. pg_ts_dict

В каталоге pg_ts_dict содержатся записи, определяющие словари текстового поиска. Словарь зависит от шаблона текстового поиска, в котором задаются все требуемые функции реализации; сам словарь предоставляет значения для настраиваемых параметров, поддерживаемых шаблонов. Такое разделение позволяет создавать словари непривилегированным пользователям. Параметры задаются текстовой строкой dictinitoption, их формат и значение зависят от шаблона.

Возможности текстового поиска Postgres Pro углублённо рассматриваются в Главе 12.

Таблица 54.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

Строка с параметрами инициализации для шаблона


54.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.

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

Table 54.61. pg_ts_dict Columns

Column Type

Description

oid oid

Row identifier

dictname name

Text search dictionary name

dictnamespace oid (references pg_namespace.oid)

The OID of the namespace that contains this dictionary

dictowner oid (references pg_authid.oid)

Owner of the dictionary

dicttemplate oid (references pg_ts_template.oid)

The OID of the text search template for this dictionary

dictinitoption text

Initialization option string for the template


FAQ