Re: Generate pg_stat_get_* functions with Macros
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-12-06T02:45:10Z
Lists: pgsql-hackers
Attachments
- 0001-Generate-stat-functions-for-db-entries.patch (text/x-diff) patch 0001
On Mon, Dec 05, 2022 at 05:16:56PM +0900, Michael Paquier wrote: > Doing that in a separate patch is fine by me. I have applied the patch for the tab entries, then could not resist poking at the parts for the db entries. This leads to more reduction than the other one actually, as of: 4 files changed, 169 insertions(+), 447 deletions(-) Like the previous one, the functions have the same names and the field names are updated to fit in the picture. Thoughts? -- Michael
Commits
-
Fix macro definitions in pgstatfuncs.c
- 66dcb09246b4 16.0 landed
-
Generate pg_stat_get*() functions for databases using macros
- 8018ffbf5895 16.0 landed