51.48. pg_shdescription
В каталоге pg_shdescription
хранятся дополнительные описания (комментарии) для глобальных объектов баз данных. Описания можно задавать с помощью команды COMMENT и просматривать в psql, используя команды \d
.
Также смотрите каталог pg_description
, который играет подобную роль в отношении описаний объектов в одной базе данных.
В отличие от большинства системных каталогов, pg_shdescription
разделяется всеми базами данных кластера: есть только один экземпляр pg_shdescription
в кластере, а не отдельные в каждой базе данных.
Таблица 51.48. Столбцы pg_shdescription
Имя | Тип | Ссылки | Описание |
---|---|---|---|
objoid | oid | любой столбец OID | OID объекта, к которому относится это описание |
classoid | oid |
| OID системного каталога, к которому относится этот объект |
description | text | Произвольный текст, служащий описанием данного объекта |
50.50. 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
.
Postgres Pro's text search features are described at length in Chapter 12.
Table 50.50. 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 |
| The OID of the namespace that contains this configuration |
cfgowner | oid |
| Owner of the configuration |
cfgparser | oid |
| The OID of the text search parser for this configuration |