PG_OBJECT¶
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).
Name | Type | Description |
---|---|---|
object_oid | oid | Object identifier. |
object_type | "char" | Object type:
|
creator | oid | ID of the creator. |
ctime | timestamp with time zone | Object creation time. |
mtime | timestamp with time zone | Time when the object was last modified. By default, the ALTER, COMMENT, GRANT/REVOKE, and TRUNCATE operations are recorded. object_mtime_record_mode can be used to control whether ALTER, COMMENT, GRANT/REVOKE, and TRUNCATE operations are recorded. |
last_analyze_time | timestamp with time zone | Time when an object is analyzed for the last time. |
Important
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.