Tom Lane wrote:
> Right. So do we care whether the collector has the right number?
Not at present; n_backends is not read/written by the stats collector
itself, it is just in the hash table for the convenience of backends who
read in the stats file.
> Or should we push the responsibility for tracking that count over
> to the collector (+1 for that personally)?
Makes sense to me -- I'll take a look at implementing this. For now I'll
just commit the bug fix.
-Neil