Fix the SharedFileSetUnregister API.
Amit Kapila <akapila@postgresql.org>
Fix the SharedFileSetUnregister API. Commit 808e13b282 introduced a few APIs to extend the existing Buffile interface. In SharedFileSetDeleteOnProcExit, it tries to delete the list element while traversing the list with 'foreach' construct which makes the behavior of list traversal unpredictable. Author: Amit Kapila Reviewed-by: Dilip Kumar Tested-by: Dilip Kumar and Neha Sharma Discussion: https://postgr.es/m/CAA4eK1JhLatVcQ2OvwA_3s0ih6Hx9+kZbq107cXVsSWWukH7vA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/file/sharedfileset.c | modified | +10 −6 |
Discussion
- PATCH: logical_work_mem and logical streaming of large in-progress transactions 563 messages · 2017-12-23 → 2021-05-06