"Simon Riggs" <simon@2ndquadrant.com> writes:
> We also need something that will re-zero the stats when they reach
> anywhere near integer overflow, since we must not allow them to wrap. I
> would suggest we simply reset all values to zero for that table.
pgstat counters are int64.
regards, tom lane