postgresql/src
Tom Lane d637a899ca Further twiddling of nodeHash.c hashtable sizing calculation.
On reflection, the submitted patch didn't really work to prevent the
request size from exceeding MaxAllocSize, because of the fact that we'd
happily round nbuckets up to the next power of 2 after we'd limited it to
max_pointers.  The simplest way to enforce the limit correctly is to
round max_pointers down to a power of 2 when it isn't one already.

(Note that the constraint to INT_MAX / 2, if it were doing anything useful
at all, is properly applied after that.)
2015-10-04 15:55:07 -04:00
..
backend Further twiddling of nodeHash.c hashtable sizing calculation. 2015-10-04 15:55:07 -04:00
bin Fix compiler warning about unused function in non-readline case. 2015-09-28 18:32:27 -04:00
include Add recursion depth protections to regular expression matching. 2015-10-02 14:51:59 -04:00
interfaces Let compiler handle size calculation of bool types. 2015-09-19 11:14:11 +02:00
makefiles Don't use deprecated dllwrap on Cygwin. 2014-02-01 16:14:15 -05:00
pl Fix a few bogus statement type names in plpgsql error messages. 2015-08-18 19:22:38 -04:00
port Fix a low-probability crash in our qsort implementation. 2015-07-16 22:57:46 -04:00
template AIX: Test the -qlonglong option before use. 2015-07-17 03:02:46 -04:00
test Fix possible internal overflow in numeric multiplication. 2015-09-21 12:12:16 -04:00
timezone Update time zone data files to tzdata release 2015g. 2015-10-02 19:16:37 -04:00
tools Turn install.bat into a pure one line wrapper fort he perl script. 2015-07-07 16:39:25 +03:00
tutorial Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00: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 Rethink the way walreceiver is linked into the backend. Instead than shoving 2010-01-20 09:16:24 +00:00
Makefile.global.in Make numeric form of PG version number readily available in Makefiles. 2015-07-05 12:01:02 -04:00
Makefile.shlib Unlink static libraries before rebuilding them. 2015-03-01 13:08:48 -05:00
nls-global.mk Avoid error from mkdir if no languages are to be installed 2010-05-13 14:35:28 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00