GaussDB-MY_OBJECTS

25 阅读1分钟

GaussDB-MY_OBJECTS

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

NameTypeDescription
object_namenameObject name.
object_idoidOID of the object.
object_typenameType of the object (TABLEINDEXSEQUENCEVIEW, or GLOBAL SECONDARY INDEX).
namespaceoidNamespace that an object belongs to.
temporarycharacter(1)Specifies whether an object is a temporary object.
statuscharacter varying(7)Object status.
subobject_namenameSubobject name of an object.
generatedcharacter(1)Specifies whether an object name is generated by the system.
createdtimestamp with time zoneCreation time of an object.
last_ddl_timetimestamp with time zoneLast time when an object was modified.
default_collationcharacter varying(100)Default collation of objects.
data_object_idnumericNot supported. Set it to NULL.
timestampcharacter varying(19)Not supported. Set it to NULL.
secondarycharacter varying(1)Not supported. Set it to NULL.
edition_namecharacter varying(128)Not supported. Set it to NULL.
sharingcharacter varying(18)Not supported. Set it to NULL.
editionablecharacter varying(1)Not supported. Set it to NULL.
oracle_maintainedcharacter varying(1)Not supported. Set it to NULL.
applicationcharacter varying(1)Not supported. Set it to NULL.
duplicatedcharacter varying(1)Not supported. Set it to NULL.
shardedcharacter varying(1)Not supported. Set it to NULL.
created_appidnumericNot supported. Set it to NULL.
modified_appidnumericNot supported. Set it to NULL.
created_vsnidnumericNot supported. Set it to NULL.
modified_vsnidnumericNot supported. Set it to NULL.

NOTICE:

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

更多详情请参考GaussDB 文档中心:doc.hcs.huawei.com/db/zh-cn/ga…