历史版本。 PostgreSQL 9.1 已结束支持。 2016-10-27. 请参阅 当前版本手册.
45.39. pg_shdescription #
目录pg_shdescription存储共享数据库对象的可选描述(注释)。这些描述可以通过COMMENT命令设置或修改,并且可以使用psql的\d命令查看。
另请参阅pg_description,它对单个数据库内对象的描述提供了相似的功能。
与大部分其他系统目录不同,pg_shdescription在整个集簇的所有数据库之间共享:在每一个集簇中只有一个pg_shdescription的拷贝,而不是每个数据库一份。
表 45.39. pg_shdescription 列
| Name | Type | References | Description |
|---|---|---|---|
objoid | oid | any OID column | The OID of the object this description pertains to |
classoid | oid | | The OID of the system catalog this object appears in |
description | text | Arbitrary text that serves as the description of this object |