select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Supported versions: Current (18) / 17 / 16 / 15 / 14
Development versions: 19 / devel
Unsupported versions: 13 / 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3
Historical version. PostgreSQL 9.5 reached end of support in February 2021. See the current version for supported releases.

49.49. pg_ts_config

The pg_ts_config catalog contains 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.

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

Table 49-49. pg_ts_config Columns

Name Type References Description
oid oid   Row identifier (hidden attribute; must be explicitly selected)
cfgname name   Text search configuration name
cfgnamespace oid pg_namespace.oid The OID of the namespace that contains this configuration
cfgowner oid pg_authid.oid Owner of the configuration
cfgparser oid pg_ts_parser.oid The OID of the text search parser for this configuration

Report a documentation issue

Read the upstream documentation. For corrections, first check the current version.