选择 打开 改范围 完整检索页

pgsql.cc 提供对 postgresql.org 官网内容的中文翻译,由 Pigsty 团队维护。

受支持版本: 当前版本 (18) / 17 / 16 / 15 / 14
测试与开发版本: 19 / devel
不受支持的版本: 13 / 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0
历史版本PostgreSQL 9.2 已于 2017 年 11 月结束社区维护,本页译文保留供仍在使用旧版本的读者参考。新系统请看当前版本

45.19. pg_description #

目录pg_description存储对每一个数据库对象可选的描述(注释)。 描述可以通过COMMENT操作,并可使用psql\d命令查看。 在pg_description的初始内容中提供了很多内置系统对象的描述。

参见pg_shdescription,它对在一个数据库集簇中共享的对象的描述提供了相似的功能。

表 45.19. pg_description

Name Type References Description
objoid oid any OID column The OID of the object this description pertains to
classoid oid pg_class.oid The OID of the system catalog this object appears in
objsubid int4   For a comment on a table column, this is the column number (the objoid and classoid refer to the table itself). For all other object types, this column is zero.
description text   Arbitrary text that serves as the description of this object

提交更正

译文有误、术语不当或页面显示问题,请到译文仓库 pgsty/pgdoc 报告译文问题。 英文原文本身的问题,请在当前版本的对应页面向上游反馈;上游不再修订已结束维护的版本。