diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-11-17 15:46:47 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-11-17 15:46:54 -0500 |
commit | 80be41979e3ac2b17a4f985ee9249c78e3bafeb6 (patch) | |
tree | d1412ef95ae69e4b0d74b3df815d066a0bc832df /src/backend/executor/nodeHashjoin.c | |
parent | 331828b754378733cb5c2e49227603e7354e4e39 (diff) | |
download | postgresql-80be41979e3ac2b17a4f985ee9249c78e3bafeb6.tar.gz postgresql-80be41979e3ac2b17a4f985ee9249c78e3bafeb6.zip |
Fix possible internal overflow in numeric division.
div_var_fast() postpones propagating carries in the same way as mul_var(),
so it has the same corner-case overflow risk we fixed in 246693e5ae8a36f0,
namely that the size of the carries has to be accounted for when setting
the threshold for executing a carry propagation step. We've not devised
a test case illustrating the brokenness, but the required fix seems clear
enough. Like the previous fix, back-patch to all active branches.
Dean Rasheed
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions