Re: pgsql: Fix numeric_mul() overflow due to too many digits after decimal

2021-07-10 Thread Dean Rasheed
On Sat, 10 Jul 2021 at 18:30, Tom Lane wrote: > > [ moving to pghackers for wider visibility ] > > Dean Rasheed writes: > > On Sat, 10 Jul 2021 at 16:01, Tom Lane wrote: > >> In general, I'm disturbed that we just threw away the previous > >> promise that numeric multiplication results were

Re: pgsql: Fix numeric_mul() overflow due to too many digits after decimal

2021-07-10 Thread Tom Lane
[ moving to pghackers for wider visibility ] Dean Rasheed writes: > On Sat, 10 Jul 2021 at 16:01, Tom Lane wrote: >> In general, I'm disturbed that we just threw away the previous >> promise that numeric multiplication results were exact. That >> seems like a pretty fundamental property ---