Oh, now I see what happened to by. I had Duration mapping to numeric(21,9) so that it represented a quantity in seconds. And then Christian changed that to numeric(21) without fixing all the code which expected a quantity in seconds rather than nanoseconds, and so now all that code gives answers which are off by a factor of 10^9. |