Re: Remove nonmeaningful prefixes in PgStat_* fields
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Alvaro Herrera <alvherre@alvh.no-ip.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-03-22T01:28:19Z
Lists: pgsql-hackers
On Mon, Mar 20, 2023 at 10:05:21AM +0100, Drouvot, Bertrand wrote: > Good point and keeping it as it is currently would not > affect the work that is/will be done in [1]. I guess that I'm OK with that to get more of pgstatfuncs.c to use macros for the function definitions there.. Alvaro, Tom, perhaps you still think that this is unadapted? Based on the file split and the references to funcentry and tabentry, I think that's OK, but that stands just as one opinion among many.. > So, please find attached V2 attached taking this comment into account. > [1]: https://www.postgresql.org/message-id/flat/89606d96-cd94-af74-18f3-c7ab2b684ba2%40gmail.com Nice. I am pretty sure that finishing some of that is doable by the end of this CF to reduce the size of pgstatfuncs.c overall. -- Michael
Commits
-
Rename fields in pgstat structures for functions and relations
- 8089517ab8b5 16.0 landed