postgresql/src
Tom Lane c47bdb3726 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 246693e5ae,
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
2015-11-17 15:47:08 -05:00
..
backend Fix possible internal overflow in numeric division. 2015-11-17 15:47:08 -05:00
bin Don't connect() to a wildcard address in test_postmaster_connection(). 2015-11-08 17:31:23 -05:00
include Improve memory-usage accounting in regular-expression compiler. 2015-10-16 15:36:17 -04:00
interfaces Fix order of arguments in ecpg generated typedef command. 2015-10-18 10:17:01 +02:00
makefiles Don't use deprecated dllwrap on Cygwin. 2014-02-01 16:13:46 -05:00
pl PL/Python: Make tests pass with Python 3.5 2015-11-14 13:53:26 -05:00
port Stamp 9.2.14. 2015-10-05 15:15:56 -04:00
template AIX: Test the -qlonglong option before use. 2015-07-17 03:02:18 -04:00
test Fix ruleutils.c's dumping of whole-row Vars in ROW() and VALUES() contexts. 2015-11-15 14:41:09 -05:00
timezone Update time zone data files to tzdata release 2015g. 2015-10-02 19:16:18 -04:00
tools Turn install.bat into a pure one line wrapper fort he perl script. 2015-07-07 16:37:34 +03:00
tutorial Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Make numeric form of PG version number readily available in Makefiles. 2015-07-05 12:01:01 -04:00
Makefile.shlib Unlink static libraries before rebuilding them. 2015-03-01 13:07:00 -05:00
nls-global.mk Lots of doc corrections. 2012-04-23 22:43:09 -04:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00