Help Center > > Developer Guide

PG_OBJECT

Updated at: Dec 30, 2020 GMT+08:00

PG_OBJECT records the user creation, creation time, last modification time, and last analyzing 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 a table, which can be an ordinary table or a temporary 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.

last_analyze_time

timestamp with time zone

Time when an object is analyzed for the last time.

  • 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