2 52.19. pg_description #
4 The catalog pg_description stores optional descriptions (comments) for
5 each database object. Descriptions can be manipulated with the COMMENT
6 command and viewed with psql's \d commands. Descriptions of many
7 built-in system objects are provided in the initial contents of
10 See also pg_shdescription, which performs a similar function for
11 descriptions involving objects that are shared across a database
14 Table 52.19. pg_description Columns
20 objoid oid (references any OID column)
22 The OID of the object this description pertains to
24 classoid oid (references pg_class.oid)
26 The OID of the system catalog this object appears in
30 For a comment on a table column, this is the column number (the objoid
31 and classoid refer to the table itself). For all other object types,
36 Arbitrary text that serves as the description of this object