Updated on 2023-10-31 GMT+08:00

PG_TS_CONFIG

PG_TS_CONFIG records entries representing text search configurations. A configuration specifies a particular text search parser and a list of dictionaries to use for each of the parser's output token types.

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; must be explicitly selected)

cfgname

name

-

Text search configuration name

cfgnamespace

oid

PG_NAMESPACE.oid

OID of the namespace where the configuration resides

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