aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/trigger.c
diff options
context:
space:
mode:
authorDean Rasheed <dean.a.rasheed@gmail.com>2021-07-10 12:47:45 +0100
committerDean Rasheed <dean.a.rasheed@gmail.com>2021-07-10 12:47:45 +0100
commit357b66ef9470bee657198b4bdb26c98c89e56459 (patch)
tree19614c958d2fb6acd7f459b73764bc745f300729 /src/backend/commands/trigger.c
parente82cde74d8f9669bb0dd48b3cc9f70e91ef26e9f (diff)
downloadpostgresql-357b66ef9470bee657198b4bdb26c98c89e56459.tar.gz
postgresql-357b66ef9470bee657198b4bdb26c98c89e56459.zip
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/backend/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions