Updated on 2025-07-22 GMT+08:00

DB_OBJECTS

DB_OBJECTS displays all database objects accessible to the current user. This view exists in both PG_CATALOG and SYS schemas.

Table 1 DB_OBJECTS columns

Name

Type

Description

owner

name

Object owner.

object_name

name

Object name.

object_id

oid

Object OID.

object_type

name

Object type.

namespace

oid

ID of the namespace where the object resides.

created

timestamp with time zone

Time when the object was created.

last_ddl_time

timestamp with time zone

Last time when the object was modified.

For details about the value ranges of created and last_ddl_time, see PG_OBJECT.