Have you also checked out https://github.com/postgrespro/pg_query_state which logs running query plan AND collected counts and timings as a response to a signal?
Has this ever been discussed for inclusion in core ? On Thu, Apr 24, 2025 at 2:49 PM torikoshia <torikos...@oss.nttdata.com> wrote: > > Hi, > > Attached a rebased version of the patch. > > -- > Regards, > > -- > Atsushi Torikoshi > Seconded from NTT DATA GROUP CORPORATION to SRA OSS K.K.