Teach standby conflict resolution to use SIGUSR1

Simon Riggs <simon@2ndQuadrant.com>

Commit: a8ce974cddef3957b0615d743a1d090d12e81d50
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2010-01-16T10:05:59Z
Releases: 9.0.0
Teach standby conflict resolution to use SIGUSR1
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.

Files