Fix initialization of dsa.c free area counter.
Andres Freund <andres@anarazel.de>
Fix initialization of dsa.c free area counter. The backend local copy of dsa_area_control->freed_segment_counter was not properly initialized / maintained. This could, if unlucky, lead to keeping attached to a segment for too long. Found via valgrind bleat on buildfarm animal skink. Author: Thomas Munro Discussion: https://postgr.es/m/20170407164935.obsf2jipjfos5zei@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/mmgr/dsa.c | modified | +2 −0 |
Discussion
- valgrind errors around dsa.c 4 messages · 2017-04-07 → 2017-04-10