The pg_description provides information about optional object descriptions.
| Column name | Data type | Description |
|---|---|---|
objoid |
oid (references any OID column) |
The OID of the object. |
classoid |
oid (references pg_class.oid) |
The OID of the system catalog in which this object appears. |
objsubid |
int4 |
The column number of the table column where the comment is located. Note: objoid and classoid refer to the table itself. For all other object types, the value is 0. |
description |
text |
Arbitrary text that serves as the description of this object. |