summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorThomas Munro2023-01-26 01:50:07 +0000
committerThomas Munro2023-01-26 01:55:37 +0000
commitd95dcc9ab5f8816c7a4ac591628c68efaa2a9b7a (patch)
tree1b004d5cc09c37aea2e76435f891e2c730ce2188 /doc/src
parent243373159fb427dfb6fcf43e2ac403d9d3b82752 (diff)
Fix rare sharedtuplestore.c corruption.
If the final chunk of an oversized tuple being written out to disk was exactly 32760 bytes, it would be corrupted due to a fencepost bug. Bug #17619. Back-patch to 11 where the code arrived. While testing that (see test module in archives), I (tmunro) noticed that the per-participant page counter was not initialized to zero as it should have been; that wasn't a live bug when it was written since DSM memory was originally always zeroed, but since 14 min_dynamic_shared_memory might be configured and it supplies non-zeroed memory, so that is also fixed here. Author: Dmitry Astapov <dastapov@gmail.com> Discussion: https://postgr.es/m/17619-0de62ceda812b8b5%40postgresql.org
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions