Re: Get rid of PgStat_BackendFunctionEntry

2023-03-16 Thread Drouvot, Bertrand
Hi, On 3/16/23 6:25 AM, Michael Paquier wrote: On Wed, Mar 08, 2023 at 01:38:38PM -0800, Nathan Bossart wrote: Looks reasonable to me. I have been catching up with this thread and the other thread, and indeed it looks like this is going to help in refactoring pgstatfuncs.c to have more macros

Re: Get rid of PgStat_BackendFunctionEntry

2023-03-15 Thread Michael Paquier
On Wed, Mar 08, 2023 at 01:38:38PM -0800, Nathan Bossart wrote: > Looks reasonable to me. I have been catching up with this thread and the other thread, and indeed it looks like this is going to help in refactoring pgstatfuncs.c to have more macros for all these mostly-duplicated functions. So, I

Re: Get rid of PgStat_BackendFunctionEntry

2023-03-08 Thread Nathan Bossart
On Mon, Feb 13, 2023 at 10:06:27AM +0100, Drouvot, Bertrand wrote: > Please find attached a patch proposal to $SUBJECT: it would allow to simplify > even more the work done to generate pg_stat_get_xact*() functions with Macros. > > This is a follow up for [1] where it has been suggested > to get r