[16Beta1][doc] pgstat: Track time of the last scan of a relation
Shinoda, Noriyoshi <noriyoshi.shinoda@hpe.com>
From: "Shinoda, Noriyoshi (PN Japan FSIP)" <noriyoshi.shinoda@hpe.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: "dpage@pgadmin.org" <dpage@pgadmin.org>,
"andres@anarazel.de" <andres@anarazel.de>,
"bruce@momjian.us" <bruce@momjian.us>,
"vik@postgresfriends.org" <vik@postgresfriends.org>
Date: 2023-05-31T03:56:51Z
Lists: pgsql-hackers
Attachments
- pg_stat_all_tables_doc_v1.diff (application/octet-stream) patch v1
Hi, hackers. PostgreSQL 16 Beta1, added last access time to pg_stat_all_tables and pg_stat_all_indexes views by this patch [1]. According to the documentation [2], the data type of the columns added to these views is 'timestamptz'. However, columns of the same data type in pg_stat_all_tables.last_vacuum, last_analyze and other tables are unified to 'timestamp with time zone'. The attached patch changes the data type of the added column from timestamptz to timestamp with time zone. [1] pgstat: Track time of the last scan of a relation https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=c037471832e1ec3327f81eebbd8892e5c1042fe0 [2] pg_stat_activity view https://www.postgresql.org/docs/16/monitoring-stats.html#MONITORING-PG-STAT-ALL-TABLES-VIEW Regards, Noriyoshi Shinoda
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Doc: unify use of timestamp with time zone vs timestamptz
- 8cddea9a539c 16.0 landed
-
pgstat: Track time of the last scan of a relation
- c037471832e1 16.0 cited