Robert Haas <robertmh...@gmail.com> writes: > I'm confused by why SLRU statistics are reported by messages sent to > the stats collector rather than by just directly updating shared > memory.
It would be better to consider that as an aspect of the WIP stats collector redesign, rather than inventing a bespoke mechanism for SLRU stats that's outside the stats collector (and, no doubt, would have its own set of bugs). We don't need to invent even more pathways for this sort of data. regards, tom lane