diff options
author | Dean Rasheed <dean.a.rasheed@gmail.com> | 2021-07-10 12:51:22 +0100 |
---|---|---|
committer | Dean Rasheed <dean.a.rasheed@gmail.com> | 2021-07-10 12:51:22 +0100 |
commit | f8abf6944b12c9ed01062a5163385f6c49f0f6ef (patch) | |
tree | 900cddce4aaba6170f54439ea02a4db2504a24a9 /src/tutorial | |
parent | 3c612d9f66385f95d6e7a33e77ffac7bf6156a85 (diff) |
Fix numeric_mul() overflow due to too many digits after decimal point.
This fixes an overflow error when using the numeric * operator if the
result has more than 16383 digits after the decimal point by rounding
the result. Overflow errors should only occur if the result has too
many digits *before* the decimal point.
Discussion: https://postgr.es/m/CAEZATCUmeFWCrq2dNzZpRj5+6LfN85jYiDoqm+ucSXhb9U2TbA@mail.gmail.com
Diffstat (limited to 'src/tutorial')
0 files changed, 0 insertions, 0 deletions