↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

System Catalogs / System catalogs

pg_description

Read the PG 18 manual

The catalog pg_description stores optional descriptions (comments) for each database object.

Reading PG 18current·documented in 24 of 24 versions, 7.4 to 20

Kind
System catalogs
Columns in this snapshot
4
Definition source
English manual
Metadata snapshot
18.6

Columns 4

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
objoidoidNOT NULLThe OID of the object this description pertains to
classoidoidNOT NULLThe OID of the system catalog this object appears in
pg_class.oid
objsubidint4NOT NULLFor 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.
descriptiontextNOT NULLArbitrary text that serves as the description of this object
Column history across versions
Version history 4
  1. 9.4 → 9.5 changed
  2. 8.4 → 9.0 reworded
  3. 8.1 → 8.2 reworded
  4. 7.4 → 8.0 reworded

Definition snapshot: english-manuals:d59e2bd55537c8f38b51ee3659f… · English manual source