Tom Lane wrote:
I'd vote against that. The mechanism is lossy by design

Is it _lossy_, or merely unordered? While UDP doesn't guarantee message delivery, I wonder what kind of extreme circumstances would need to exist for you to lose UDP packets outright over the loopback interface.

> I don't think it's acceptable to refuse to display information
we do have (queries, access counts) just because we don't have every
element of a rather-arbitrarily-chosen view row.

Is there really any point in returning such incomplete statistics data? ISTM it would mostly serve to complicate the lives of people writing automated tools to query statistics data, for example.

Looking at the code, backendid seems sufficient since that is the
lookup key.

Not if you want to distinguish between dead and live backends, it's not (see pgstat_add_backend).


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

Reply via email to