postgresql/src
Robert Haas 06bd458cb8 Use mul_size when multiplying by the number of parallel workers.
That way, if the result overflows size_t, you'll get an error instead
of undefined behavior, which seems like a plus.  This also has the
effect of casting the number of workers from int to Size, which is
better because it's harder to overflow int than size_t.

Dilip Kumar reported this issue and provided a patch upon which this
patch is based, but his version did use mul_size.
2016-05-06 14:32:58 -04:00
..
backend Use mul_size when multiplying by the number of parallel workers. 2016-05-06 14:32:58 -04:00
bin Add TAP tests for pg_dump 2016-05-06 14:06:50 -04:00
common Remove redundant message in AddUserToTokenDacl(). 2016-04-06 23:40:51 -04:00
fe_utils Move and rename fmtReloptionsArray(). 2016-05-06 12:45:36 +01:00
include Fix hash index vs "snapshot too old" problemms 2016-05-06 07:47:12 -05:00
interfaces Rename strtoi() to strtoint(). 2016-04-23 16:53:15 -04:00
makefiles Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
pl Fix freshly-introduced PL/Python portability bug. 2016-04-11 18:17:20 -04:00
port Fix typo in VS2015 patch 2016-04-29 09:49:31 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Remove various special checks around default roles 2016-05-06 14:06:50 -04:00
timezone Update time zone data files to tzdata release 2016d. 2016-05-05 20:08:58 -04:00
tools Again update typedefs.list file in preparation for pgindent run 2016-05-02 09:23:55 -04:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04: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 Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
Makefile.global.in Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
Makefile.shlib AIX: Link TRANSFORM modules with their dependencies. 2015-07-15 21:00:26 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00