Help Center > > Developer Guide> System Catalogs and System Views> System Catalogs> PG_OBJECT

PG_OBJECT

Updated at: Jul 15, 2020 GMT+08:00

PG_OBJECT records the creation time, creation time, and last modification time of objects of specified types (types existing in object_type).

Table 1 PG_OBJECT columns

Name

Type

Description

object_oid

oid

Object identifier.

object_type

"char"

Object type:

  • r indicates an ordinary table.
  • i indicates an index.
  • s indicates a sequence.
  • v indicates a view.
  • p indicates a stored procedure and function.

creator

oid

ID of the creator.

ctime

timestamp with time zone

Object creation time.

mtime

timestamp with time zone

The last modification time of an object. The modification operations include ALTER, GRANT, and REVOKE.

  • Only normal user operations are recorded. Operations before the object upgrade and during the initdb process cannot be recorded.
  • ctime and mtime are the start time of the transaction.
  • The time of object modification due to capacity expansion is also recorded.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel