Updated on 2024-06-03 GMT+08:00

PG_TS_CONFIG

PG_TS_CONFIG contains entries representing text search configurations. Each of these configurations contains a list of specific text search parsers and dictionary mappings.

The parser is shown in the PG_TS_CONFIG entry, but the token-to-dictionary mapping is defined by subsidiary entries in PG_TS_CONFIG_MAP.

Table 1 PG_TS_CONFIG columns

Name

Type

Reference

Description

oid

oid

-

Row identifier (hidden attribute, which must be specified).

cfgname

name

-

Text search configuration name.

cfgnamespace

oid

oid in PG_NAMESPACE

OID of the namespace that contains the configuration.

cfgowner

oid

PG_AUTHID.oid

Owner of the configuration.

cfgparser

oid

PG_TS_PARSER.oid

OID of the text search parser for this configuration.

cfoptions

text[]

-

Configuration options.