# pg_depend

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [cloud-data-platform-full.txt](https://docs.redpanda.com/cloud-data-platform-full.txt)

---
title: pg_depend
latest-operator-version: v26.1.4
latest-console-tag: v3.7.3
latest-connect-version: 4.93.0
latest-redpanda-tag: v26.1.9
docname: sql/system-catalogs/catalogs/pg_depend
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: sql/system-catalogs/catalogs/pg_depend.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/reference/pages/sql/system-catalogs/catalogs/pg_depend.adoc
description: The pg_depend tracks relationships between database objects, such as tables, columns, constraints, and indexes.
page-topic-type: reference
page-git-created-date: "2026-05-26"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/reference/sql/system-catalogs/catalogs/pg_depend.md -->

The `pg_depend` tracks relationships between database objects, such as tables, columns, constraints, and indexes. It mimics the [pg\_depend](https://www.postgresql.org/docs/current/catalog-pg-depend.html) PostgreSQL system catalog.

> ⚠️ **WARNING**
>
> Redpanda SQL does not support custom types.

## [](#columns)Columns

The following columns are available for querying in `pg_depend`:

| Column | Type | Description |
| --- | --- | --- |
| classid | int | This column represents the OID of the system catalog the dependent object is in |
| objid | int | This column represents the OID of the specific dependent object |
| objsubid | int | This column represents the column number for a table column |
| refclassid | int | This column represents the OID of the system catalog the referenced object is in |
| refobjid | int | This column represents the OID of the specific referenced object |
| refobjsubid | int | This column represents the column number for a table column |
| deptype | text | unused |