47.46. pg_ts_config

Note: The following description applies both to Postgres-XC and PostgreSQL if not described explicitly. You can read PostgreSQL as Postgres-XC except for version number, which is specific to each product.

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 47-46. pg_ts_config Columns

NameTypeReferencesDescription
oidoid Row identifier (hidden attribute; must be explicitly selected)
cfgnamename Text search configuration name
cfgnamespaceoidpg_namespace.oid The OID of the namespace that contains this configuration
cfgowneroidpg_authid.oidOwner of the configuration
cfgparseroidpg_ts_parser.oidThe OID of the text search parser for this configuration