Fix dangling pointer reference in stream_cleanup_files.
Amit Kapila <akapila@postgresql.org>
Fix dangling pointer reference in stream_cleanup_files. We can't access the entry after it is removed from dynahash. Author: Peter Smith Discussion: https://postgr.es/m/CAHut+Ps-pL++f6CJwPx2+vUqXuew=Xt-9Bi-6kCyxn+Fwi2M7w@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/worker.c | modified | +8 −5 |
Discussion
- replication cleanup code incorrect way to use of HTAB HASH_REMOVE ? 8 messages · 2021-03-20 → 2021-03-23