• Simon Riggs's avatar
    Teach standby conflict resolution to use SIGUSR1 · a8ce974c
    Simon Riggs authored
    Conflict reason is passed through directly to the backend, so we can
    take decisions about the effect of the conflict based upon the local
    state. No specific changes, as yet, though this prepares for later work.
    CancelVirtualTransaction() sends signals while holding ProcArrayLock.
    Introduce errdetail_abort() to give message detail explaining that the
    abort was caused by conflict processing. Remove CONFLICT_MODE states
    in favour of using PROCSIG_RECOVERY_CONFLICT states directly, for clarity.
    a8ce974c
proc.c 45.9 KB