Re: Generate pg_stat_get_xact*() functions with Macros
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: "Gregory Stark (as CFM)" <stark.cfm@gmail.com>,
Andres Freund <andres@anarazel.de>,
Michael Paquier <michael.paquier@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-03-27T08:11:21Z
Lists: pgsql-hackers
Attachments
- v2-0001-pgstatfuncs-more-macros.patch (text/plain) patch v2-0001
On 3/27/23 9:23 AM, Michael Paquier wrote: > On Mon, Mar 27, 2023 at 08:54:13AM +0200, Drouvot, Bertrand wrote: >> Yes, something like V1 up-thread was doing. I think it can be added with your current proposal. > > Sure, I can write that. Or perhaps you'd prefer write something > yourself? Please find attached V2 adding pg_stat_get_xact_function_total_time() and pg_stat_get_xact_function_self_time() to the party. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
Generate a few more functions of pgstatfuncs.c with macros
- 4efd0bf7eaeb 16.0 landed
-
Generate pg_stat_get_xact*() functions for relations using macros
- 850f4b4c8cab 16.0 landed