Updated on 2025-07-22 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

N/A

Row identifier (hidden attribute; displayed only when explicitly selected)

cfgname

Name

N/A

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[]

N/A

Configuration options