{"Entry":{"collection":"catalog","key":"pg_shdescription","name":"pg_shdescription","aliases":[],"metadata":{"changed_in":["9.5"],"changes":[{"added":[],"attributes":[],"description_changed":false,"descriptions":[],"from":"8.1","order":false,"removed":[],"status":"added","to":"8.2","types":[]},{"added":[],"attributes":[{"attribute":"not_null","from":false,"name":"description","to":true}],"description_changed":false,"descriptions":[],"from":"9.4","listing":[],"order":false,"removed":[],"status":"changed","to":"9.5","types":[],"unlisted":[]}],"column_count":3,"content_hash":"d8528434aac3e7a5c4ee07fa914a95466573515c6c3600f251fff84fcac0b70a","first_version":"8.2","imported_at":"2026-09-30T00:40:55.827687+08:00","kind":"catalog","last_version":"20","name":"pg_shdescription","position":77,"present_in":["8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"relation_oid":null,"relkind":"r","shared":false,"source_rev":"english-manuals:98cd81b1e8d0887a88377f36e5a6df05a29f822662711bf98c9eab92b228009a","summary":"The catalog pg_shdescription stores optional descriptions (comments) for shared database objects.","summary_zh":""}},"Definition":{"Collection":"catalog","Key":"pg_shdescription","SourceDatabase":"center","Version":"18","SourceTable":"catalog","SourceKey":"pg_shdescription","SourceRevision":"english-manuals:98cd81b1e8d0887a88377f36e5a6df05a29f822662711bf98c9eab92b228009a","Facts":{"columns":[{"array_dimensions":0,"attnum":1,"description":"The OID of the object this description pertains to","description_zh":"","documented":true,"documented_name":"objoid","hidden":false,"name":"objoid","not_null":true,"references":"","type":"oid","type_modifier":-1,"type_oid":26},{"array_dimensions":0,"attnum":2,"description":"The OID of the system catalog this object appears in","description_zh":"","documented":true,"documented_name":"classoid","hidden":false,"name":"classoid","not_null":true,"references":"pg_class.oid","type":"oid","type_modifier":-1,"type_oid":26},{"array_dimensions":0,"attnum":3,"description":"Arbitrary text that serves as the description of this object","description_zh":"","documented":true,"documented_name":"description","hidden":false,"name":"description","not_null":true,"references":"","type":"text","type_modifier":-1,"type_oid":25}],"description":"The catalog pg_shdescription stores optional descriptions (comments) for shared database objects. Descriptions can be manipulated with the COMMENT command and viewed with psql's \\d commands.\n\nSee also pg_description, which performs a similar function for descriptions involving objects within a single database.\n\nUnlike most system catalogs, pg_shdescription is shared across all databases of a cluster: there is only one copy of pg_shdescription per cluster, not one per database.","description_zh":"","doc":{"anchor":"id-1.10.4.51.6","file":"catalog-pg-shdescription.html","lang":"en","sha256":"264242f99400683116d4a54e4b5a24ef3c8c18357d0b119319a8fe205e741a06","slug":"18"},"kind":"catalog","lang":"en","measured_attributes":true,"metadata_release":"18.6","runtime_columns":["objoid","classoid","description"],"runtime_verified":false,"source":"english-manual"},"ManualEvidence":{"doc":{"anchor":"id-1.10.4.51.6","file":"catalog-pg-shdescription.html","lang":"en","sha256":"264242f99400683116d4a54e4b5a24ef3c8c18357d0b119319a8fe205e741a06","slug":"18"}},"MeasuredEvidence":{"measured_attributes":true,"metadata_release":"18.6","runtime_columns":["objoid","classoid","description"],"runtime_verified":false}},"Text":{"Collection":"catalog","Key":"pg_shdescription","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_shdescription","Summary":"目录pg_shdescription存储共享数据库对象的可选描述（注释）。这些描述可以通过COMMENT命令设置或修改，并且可以使用psql的\\d命令查看。\n\n另请参阅pg_description，它对单个数据库内对象的描述提供了相似的功能。\n\n与大部分其他系统目录不同，pg_shdescription在整个集簇的所有数据库之间共享：在每一个集簇中只有一个pg_shdescription的拷贝，而不是每个数据库一份。","BodyHTML":"\u003cp\u003e目录pg_shdescription存储共享数据库对象的可选描述（注释）。这些描述可以通过COMMENT命令设置或修改，并且可以使用psql的\\d命令查看。\n\n另请参阅pg_description，它对单个数据库内对象的描述提供了相似的功能。\n\n与大部分其他系统目录不同，pg_shdescription在整个集簇的所有数据库之间共享：在每一个集簇中只有一个pg_shdescription的拷贝，而不是每个数据库一份。\u003c/p\u003e","SourceRevision":"2026-09-27@419045e","ContentHash":"f50a8b52ae28b6c79ed37247b508e75203fc9d1c8abbed2569484cc1ebbf4598","Payload":{"columns":[{"description_zh":"描述所属对象的OID","name":"objoid","type":"oid","zh_from":"doc"},{"description_zh":"该对象所在的系统目录的 OID","name":"classoid","type":"oid","zh_from":"doc"},{"description_zh":"作为该对象描述的任意文本","name":"description","type":"text","zh_from":"doc"}],"description_zh":"目录pg_shdescription存储共享数据库对象的可选描述（注释）。这些描述可以通过COMMENT命令设置或修改，并且可以使用psql的\\d命令查看。\n\n另请参阅pg_description，它对单个数据库内对象的描述提供了相似的功能。\n\n与大部分其他系统目录不同，pg_shdescription在整个集簇的所有数据库之间共享：在每一个集簇中只有一个pg_shdescription的拷贝，而不是每个数据库一份。","zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
