Re: [Proposal] Add accumulated statistics
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: "imai.yoshikazu@fujitsu.com" <imai.yoshikazu@fujitsu.com>
Cc: "tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>, 'Pavel Stehule' <pavel.stehule@gmail.com>, Robert Haas <robertmhaas@gmail.com>, "yotsunaga.naoki@fujitsu.com" <yotsunaga.naoki@fujitsu.com>, Bruce Momjian <bruce@momjian.us>, Phil Florent <philflorent@hotmail.com>, Tomas Vondra <tomas.vondra@2ndquadrant.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2019-12-01T01:10:46Z
Lists: pgsql-hackers
On Wed, Oct 30, 2019 at 05:55:28AM +0000, imai.yoshikazu@fujitsu.com wrote: > And here is the patch which counts the wait event and measuring the wait event time. It is currently like POC and has several things to be improved. Please note the patch tester complains about the latest patch: pgstatfuncs.c: In function ‘pg_stat_get_waitaccum’: pgstatfuncs.c:2018:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] Datum values[PG_STAT_GET_WAITACCUM_COLS]; I am moving it to next CF, marking it as waiting on author. -- Michael