Hi, On 2022-03-25 17:24:18 +0900, Kyotaro Horiguchi wrote: > > * AFIXME: Should all the stats drop code be moved into pgstat_drop.c? > > Or pgstat_xact.c?
I wasn't initially happy with that suggestion, but after running with it, it looks pretty good. I also moved a fair bit of code into pgstat_shm.c, which to me improved code navigation a lot. I'm wondering about splitting it further even, into pgstat_shm.c and pgstat_entry.c. What do you think? Greetings, Andres Freund