timestamp for query in pg_stat_statements

From: Zhihong Yu <zyu(at)yugabyte(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: timestamp for query in pg_stat_statements
Date: 2022-03-06 02:10:44
Message-ID: CALNJ-vS7kXQCdXDNnWC8nt6GdODhG8tQewPntRQ5Qc0bMv50kQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
Looking at pg_stat_statements, there doesn't seem to be timestamp column
for when the underlying query is performed.
Since the same query can be run multiple times, the absence of timestamp
column makes finding the most recent invocation of the query difficult.

Does it make sense to add such a column ?

Thanks

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2022-03-06 04:17:09 Re: timestamp for query in pg_stat_statements
Previous Message Nikita Glukhov 2022-03-06 01:43:58 Re: JSON path decimal literal syntax