Fix oversight from 9e149c8 with spin-lock handling
Michael Paquier <michael@paquier.xyz>
Fix oversight from 9e149c8 with spin-lock handling Calling an external function while a pin-lock is held is a bad idea as those are designed to be short-lived. The stress of a first commit into a large git history may contribute to that. Reported-by: Andres Freund Discussion: https://postgr.es/m/20180611164952.vmxdpdpirdtkdsz6@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/slot.c | modified | +5 −2 |
Discussion
- pgsql: Fix and document lock handling for in-memory replication slot da 4 messages · 2018-06-10 → 2018-06-11