SYSTEM CATALOGS / SYSTEM CATALOGS
pg_shdepend
Read PG 18 manual ↗The catalog pg_shdepend records the dependency relationships between database objects and shared objects, such as roles.
- Kind
- System catalogs
- Columns in this snapshot
- 7
- Definition source
- English manual
Columns 7
| Column | Type | Description / reference |
|---|---|---|
dbid | oid | The OID of the database the dependent object is in, or zero for a shared object pg_database.oid |
classid | oid | The OID of the system catalog the dependent object is in pg_class.oid |
objid | oid | The OID of the specific dependent object |
objsubid | int4 | For a table column, this is the column number (the objid and classid refer to the table itself). For all other object types, this column is zero. |
refclassid | oid | The OID of the system catalog the referenced object is in (must be a shared catalog) pg_class.oid |
refobjid | oid | The OID of the specific referenced object |
deptype | char | A code defining the specific semantics of this dependency relationship; see text |
Column history across versions
Version history 2
- PG 14 → 15changed
- PG 13 → 14changed
Definition snapshot: english-manuals:b0291cc2e487776de84c6766696… · English manual source