aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/postgres-ref.sgml
diff options
context:
space:
mode:
authorKevin Grittner <kgrittn@postgresql.org>2014-06-19 08:40:37 -0500
committerKevin Grittner <kgrittn@postgresql.org>2014-06-19 08:40:37 -0500
commitbfaa8c665fcbd4388e01c53c4b5137f1f53d1787 (patch)
tree07379e9062322edc065b9e6243ba7f46868c3fd6 /doc/src/sgml/ref/postgres-ref.sgml
parent9ba78fb0b9e6c5a7115592c2c3116fca16b5184e (diff)
downloadpostgresql-bfaa8c665fcbd4388e01c53c4b5137f1f53d1787.tar.gz
postgresql-bfaa8c665fcbd4388e01c53c4b5137f1f53d1787.zip
Fix calculation of PREDICATELOCK_MANAGER_LWLOCK_OFFSET.
Commit ea9df812d8502fff74e7bc37d61bdc7d66d77a7f 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.
Diffstat (limited to 'doc/src/sgml/ref/postgres-ref.sgml')
0 files changed, 0 insertions, 0 deletions