postgresql/src
Kevin Grittner bfaa8c665f Fix calculation of PREDICATELOCK_MANAGER_LWLOCK_OFFSET.
Commit ea9df812d8 failed to include
NUM_BUFFER_PARTITIONS in this offset, resulting in a bad offset.
Ultimately this threw off NUM_FIXED_LWLOCKS which is based on
earlier offsets, leading to memory allocation problems.  It seems
likely to have also caused increased LWLOCK contention when
serializable transactions were used, because lightweight locks used
for that overlapped others.

Reported by Amit Kapila with analysis and fix.
Backpatch to 9.4, where the bug was introduced.
2014-06-19 08:40:37 -05:00
..
backend Don't allow data_directory to be set in postgresql.auto.conf by ALTER SYSTEM. 2014-06-19 20:31:20 +09:00
bin Use type pgsocket for Windows pipe emulation socket calls 2014-06-16 15:24:38 -04:00
common pgindent run for 9.4 2014-05-06 12:12:18 -04:00
include Fix calculation of PREDICATELOCK_MANAGER_LWLOCK_OFFSET. 2014-06-19 08:40:37 -05:00
interfaces Stamp shared-library minor version numbers for 9.5. 2014-06-10 21:40:21 -04:00
makefiles Consistently define BUILDING_DLL during builds of src/port for Windows. 2014-06-11 19:50:41 -04:00
pl Make plpython_unicode regression test work in more database encodings. 2014-06-03 12:01:54 -04:00
port Add mkdtemp() to libpgport. 2014-06-14 09:41:13 -04:00
template Have configuration templates augment, not replace, LDFLAGS. 2014-06-11 19:50:57 -04:00
test Implement UPDATE tab SET (col1,col2,...) = (SELECT ...), ... 2014-06-18 13:22:34 -04:00
timezone pgindent run for 9.4 2014-05-06 12:12:18 -04:00
tools Fix the MSVC build process for uuid-ossp. 2014-06-18 09:21:50 -04:00
tutorial pgindent run for 9.4 2014-05-06 12:12:18 -04: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 libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library. 2014-05-27 19:42:08 -04:00
Makefile.shlib Tweak position of $(DLL_DEFFILE) in shared-library link commands. 2014-02-12 11:22:23 -05: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