Andres Freund <and...@anarazel.de> writes: >> Robert Haas <robertmh...@gmail.com> writes: >>> Long story short, I don't think anyone cares about this enough to >>> spend effort fixing it. I suspect the money data type has very few >>> users.
> I'm unfortunately not so sure :(. There seem to be enough of them that we get pushback anytime somebody suggests removing the type. > The background is that I was working on committing the faster (& > correct) overflow checks, and wanted to compile postgres with -ftrapv. > Some rudimentary cash (as well as pgbench, rel/abstime) fixes were > required to make the tests succeed... Really? We've got test cases that intentionally exercise overflow in the money code? I think we could just drop such tests, until such time as someone fixes the issue. (OTOH, I bet we could drop reltime/abstime without too many complaints. Y2038 is coming.) regards, tom lane