diff options
| author | Andres Freund | 2017-06-19 01:48:22 +0000 |
|---|---|---|
| committer | Andres Freund | 2017-06-19 02:13:15 +0000 |
| commit | 810344436db69eb29ca5761fbed872c42de9e7d5 (patch) | |
| tree | 1450ed366a16b08b9099fdaf381fa1227ecd1541 /doc/src | |
| parent | a9a5eb32b38443540def8f2d47f0b118601acbf5 (diff) | |
Fix leaking of small spilled subtransactions during logical decoding.
When, during logical decoding, a transaction gets too big, it's
contents get spilled to disk. Not just the top-transaction gets
spilled, but *also* all of its subtransactions, even if they're not
that large themselves. Unfortunately we didn't clean up
such small spilled subtransactions from disk.
Fix that, by keeping better track of whether a transaction has been
spilled to disk.
Author: Andres Freund
Reported-By: Dmitriy Sarafannikov, FabrÃzio de Royes Mello
Discussion:
https://postgr.es/m/1457621358.355011041@f382.i.mail.ru
https://postgr.es/m/CAFcNs+qNMhNYii4nxpO6gqsndiyxNDYV0S=JNq0v_sEE+9PHXg@mail.gmail.com
Backpatch: 9.4-, where logical decoding was introduced
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions
