On Wed, May 15, 2013 at 10:50 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Somebody ought to fix that.
A larger question is whether it'd be worth the trouble for interval avg() to use some wider internal representation so it could avoid the overflow. Given the lack of prior complaints I'm inclined to suspect it's not.
Should I file a formal bug report? Personally, I care not either way it is fixed, but I never want to get garbage answers.