Re: Tom Lane
> I did not like confusing the RISC-V case with the ARM case: duplicating
> the code block seems better, in case there's ever reason to add
> arch-specific stuff like SPIN_DELAY. So I split it off to its own
> code block and pushed it.
Fwiw I can report success on Debian's riscv port with that commit
cherry-picked onto 13.4:
https://buildd.debian.org/status/fetch.php?pkg=postgresql-13&arch=riscv64&ver=13.4-3&stamp=1630411643&raw=0
Christoph