Summary
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.
(Description quoted from the official PostgreSQL documentation.)
Columns
The pg_ts_config system catalog exposes the following columns (names, types and descriptions are taken verbatim from the PostgreSQL documentation):
oidoid
Row identifiercfgnamename
Text search configuration namecfgnamespaceoidreferencespg_namespace.oid
The OID of the namespace that contains this configurationcfgowneroidreferencespg_authid.oid
Owner of the configurationcfgparseroidreferencespg_ts_parser.oid
The OID of the text search parser for this configuration
Related catalogs
This object references the following other system catalogs:
cfgnamespace→pg_namespacecfgowner→pg_authidcfgparser→pg_ts_parser
Version applicability
Present in PostgreSQL 17, 18, 19 (verified against each release’s documentation). This is a long-standing system object that also exists in earlier PostgreSQL releases.
Related & references
Reference: PostgreSQL documentation — pg_ts_config.