Re: [PATCH] Tracking statements entry timestamp in pg_stat_statements
Greg Stark <stark@mit.edu>
From: Greg Stark <stark@mit.edu>
To: Andrei Zubkov <zubkov@moonset.ru>
Cc: Julien Rouhaud <rjuju123@gmail.com>,
"Anton A. Melnikov" <aamelnikov@inbox.ru>, Andres Freund <andres@anarazel.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-04-01T15:38:52Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Improve quoting in some error messages
- 07e5e6674233 14.0 cited
FYI this has a compiler warning showing up on the cfbot: [13:19:51.544] pg_stat_statements.c: In function ‘entry_reset’: [13:19:51.544] pg_stat_statements.c:2598:32: error: ‘minmax_stats_reset’ may be used uninitialized in this function [-Werror=maybe-uninitialized] [13:19:51.544] 2598 | entry->minmax_stats_since = minmax_stats_reset; [13:19:51.544] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ If the patch is otherwise ready to commit then this is an issue that should be fixed before marking it ready to commit. Given that this is the last week before feature freeze it'll probably get moved to a future commitfest unless it's ready to commit.