{"Entry":{"collection":"func","key":"col-description","name":"col_description","aliases":[],"metadata":{"changed_in":["7.4"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.1","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"7.2"},{"descriptions_changed":true,"doc_overhaul":false,"from":"7.3","group_changed":null,"signatures":{"added":["col_description ( table_oid, column_number ) → text"],"removed":["col_description ( tableOID, columnnumber ) → text"]},"status":"changed","to":"7.4"},{"descriptions_changed":false,"doc_overhaul":false,"from":"7.4","group_changed":{"from":"misc","to":"info"},"signatures":{"added":[],"removed":[]},"status":"changed","to":"8.0"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"fb54012a9b7b348dc5464b7fe4fa87fd7688265efb3b507183080b70b16c5bf9","first_version":"7.2","group":"info","group_label":"System Information Functions And Operators","groups":["misc","info"],"imported_at":"2026-09-27T17:57:29.032381+08:00","last_version":"20","name":"col_description","name_key":"col_description","position":28002,"present_in":["7.2","7.3","7.4","8.0","8.1","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"],"signature":"col_description ( table oid, column integer ) → text","signature_count":1,"slug":"col-description","source_rev":"b7bd9cda","summary":"Returns the comment for a table column, which is specified by the OID of its table and its column number.","summary_zh":""}},"Definition":{"Collection":"func","Key":"col-description","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"col-description","SourceRevision":"b7bd9cda","Facts":{"description":"Returns the comment for a table column, which is specified by the OID of its table and its column number. (obj_description cannot be used for table columns, since columns do not have OIDs of their own.)","description_html":"Returns the comment for a table column, which is specified by the OID of its table and its column number. (\u003ccode class=\"function\"\u003eobj_description\u003c/code\u003e cannot be used for table columns, since columns do not have OIDs of their own.)","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-INFO-COMMENT-TABLE","file":"functions-info.html","slug":"18"},"group":"info","group_label":"System Information Functions And Operators","lang":"en","layout":"table-new","pages":["functions-info.html"],"prose_only":false,"signatures":[{"description":"Returns the comment for a table column, which is specified by the OID of its table and its column number. (obj_description cannot be used for table columns, since columns do not have OIDs of their own.)","description_html":"Returns the comment for a table column, which is specified by the OID of its table and its column number. (\u003ccode class=\"function\"\u003eobj_description\u003c/code\u003e cannot be used for table columns, since columns do not have OIDs of their own.)","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ecol_description\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etable\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ecolumn\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"col_description ( table oid, column integer ) → text","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-COMMENT-TABLE","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"col-description","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"col_description","Summary":"返回表列的注释，列由所属表的 OID 和列号指定。（obj_description不能用于表列，因为列没有自身的 OID。）","BodyHTML":"返回表列的注释，列由所属表的 OID 和列号指定。（\u003ccode\u003eobj_description\u003c/code\u003e不能用于表列，因为列没有自身的 OID。）\u003cpre\u003ecol_description ( table oid, column integer ) → text\u003c/pre\u003e返回表列的注释，列由所属表的 OID 和列号指定。（\u003ccode\u003eobj_description\u003c/code\u003e不能用于表列，因为列没有自身的 OID。）","SourceRevision":"ca936764","ContentHash":"776e67a3e12ec28e3f4c01ed60c05afbddafb3fb8718e0c1021faf11c771f921","Payload":{"description_zh":"返回表列的注释，列由所属表的 OID 和列号指定。（obj_description不能用于表列，因为列没有自身的 OID。）","description_zh_html":"返回表列的注释，列由所属表的 OID 和列号指定。（\u003ccode class=\"function\"\u003eobj_description\u003c/code\u003e不能用于表列，因为列没有自身的 OID。）","signatures":[{"description_zh":"返回表列的注释，列由所属表的 OID 和列号指定。（obj_description不能用于表列，因为列没有自身的 OID。）","description_zh_html":"返回表列的注释，列由所属表的 OID 和列号指定。（\u003ccode class=\"function\"\u003eobj_description\u003c/code\u003e不能用于表列，因为列没有自身的 OID。）","returns":"text","text":"col_description ( table oid, column integer ) → text","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.2","7.3","7.4","8.0","8.1","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":[{"Version":"18","Ordinal":0,"Hash":"a3d1b325a57b6210f0d877aacd3199ad32b1dc2eb048e221b2397e556fc75720","Text":"col_description ( table oid, column integer ) → text","Returns":"text","Payload":{"description":"Returns the comment for a table column, which is specified by the OID of its table and its column number. (obj_description cannot be used for table columns, since columns do not have OIDs of their own.)","description_html":"Returns the comment for a table column, which is specified by the OID of its table and its column number. (\u003ccode class=\"function\"\u003eobj_description\u003c/code\u003e cannot be used for table columns, since columns do not have OIDs of their own.)","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ecol_description\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etable\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ecolumn\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"col_description ( table oid, column integer ) → text","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
