Hi, Unlike most "procsignal" handler routines, RecoveryConflictInterrupt() doesn't just set a sig_atomic_t flag and poke the latch. Is the extra stuff it does safe? For example, is this call stack OK (to pick one that jumps out, but not the only one)?
procsignal_sigusr1_handler -> RecoveryConflictInterrupt -> HoldingBufferPinThatDelaysRecovery -> GetPrivateRefCount -> GetPrivateRefCountEntry -> hash_search(...hash table that might be in the middle of an update...) (I noticed this incidentally while trying to follow along with the nearby thread on 031_recovery_conflict.pl, but the question of why we really need this of interest to me for a back-burner project I have to try to remove all use of signals except for latches, and then remove the signal emulation for Windows. It may turn out to be a pipe dream, but this stuff is one of the subproblems.)