Re: Generate pg_stat_get_* functions with Macros
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-12-03T20:16:17Z
Lists: pgsql-hackers
Attachments
On Sat, Dec 03, 2022 at 10:31:19AM +0100, Drouvot, Bertrand wrote: > On 12/3/22 1:51 AM, Nathan Bossart wrote: >> Can we hard-code the prefix in the macro? It looks like all of these use >> the same one. > > Good point! Done in V2 attached. Thanks. I editorialized a bit in the attached v3. I'm not sure that my proposed names for the macros are actually an improvement. WDYT? -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
Commits
-
Fix macro definitions in pgstatfuncs.c
- 66dcb09246b4 16.0 landed
-
Generate pg_stat_get*() functions for databases using macros
- 8018ffbf5895 16.0 landed