52.59. pg\_ts\_dict

|         52.59. `pg_ts_dict`         |                   |                           |                  |                                  |
|:-----------------------------------:|-------------------|---------------------------|------------------|----------------------------------|
|[Prev](catalog-pg-ts-config-map.html)|[Up](catalogs.html)|Chapter 52. System Catalogs|[Home](index.html)| [Next](catalog-pg-ts-parser.html)|

---

## 52.59. `pg_ts_dict`

[]()

 The `pg_ts_dict` catalog contains entries defining text search dictionaries. A dictionary depends on a text search template, which specifies all the implementation functions needed; the dictionary itself provides values for the user-settable parameters supported by the template. This division of labor allows dictionaries to be created by unprivileged users. The parameters are specified by a text string `dictinitoption`, whose format and meaning vary depending on the template.

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

**Table 52.59. `pg_ts_dict` Columns**

|                                                            Column Type<br/><br/> Description                                                            |
|---------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                          `oid` `oid`<br/><br/> Row identifier                                                           |
|                                                 `dictname` `name`<br/><br/> Text search dictionary name                                                 |
|  `dictnamespace` `oid` (references [`pg_namespace`](catalog-pg-namespace.html).`oid`)<br/><br/> The OID of the namespace that contains this dictionary  |
|                      `dictowner` `oid` (references [`pg_authid`](catalog-pg-authid.html).`oid`)<br/><br/> Owner of the dictionary                       |
|`dicttemplate` `oid` (references [`pg_ts_template`](catalog-pg-ts-template.html).`oid`)<br/><br/> The OID of the text search template for this dictionary|
|                                     `dictinitoption` `text`<br/><br/> Initialization option string for the template                                     |

---

|[Prev](catalog-pg-ts-config-map.html)|[Up](catalogs.html)| [Next](catalog-pg-ts-parser.html)|
|:------------------------------------|:-----------------:|---------------------------------:|
|      52.58. `pg_ts_config_map`      |[Home](index.html) |       52.60. `pg_ts_parser`      |

 // \<![CDATA[ \<-- For SVG support if ('WebSocket' in window) { (function() { function refreshCSS() { var sheets = [].slice.call(document.getElementsByTagName("link")); var head = document.getElementsByTagName("head")[0]; for (var i = 0; i \< sheets.length; ++i) { var elem = sheets[i]; head.removeChild(elem); var rel = elem.rel; if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") { var url = elem.href.replace(/(&|\\?)\_cacheOverride=\\d+/, ''); elem.href = url + (url.indexOf('?') \>= 0 ? '&' : '?') + '\_cacheOverride=' + (new Date().valueOf()); } head.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function(msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; console.log('Live reload enabled.'); })(); } // ]]\>