catalog-pg-ts-config.md 1.6 KB
Newer Older
K
KyleZhang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
## 52.57. `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`](catalog-pg-ts-config-map.html).

PostgreSQL's text search features are described at length in [Chapter 12](textsearch.html).

**Table 52.57. `pg_ts_config` Columns**

|                                                           Column Type<br/><br/> Description                                                           |
|-------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                         `oid` `oid`<br/><br/> Row identifier                                                          |
|                                               `cfgname` `name`<br/><br/> Text search configuration name                                               |
|`cfgnamespace` `oid` (references [`pg_namespace`](catalog-pg-namespace.html).`oid`)<br/><br/> The OID of the namespace that contains this configuration|
|                    `cfgowner` `oid` (references [`pg_authid`](catalog-pg-authid.html).`oid`)<br/><br/> Owner of the configuration                     |
|  `cfgparser` `oid` (references [`pg_ts_parser`](catalog-pg-ts-parser.html).`oid`)<br/><br/> The OID of the text search parser for this configuration  |