Add unlikely() to CHECK_FOR_INTERRUPTS()

Joe Conway <mail@joeconway.com>

Commit: 87fb04af1e705b615ac01feba958f841ea4a71a6
Author: Joe Conway <mail@joeconway.com>
Date: 2020-06-05T20:49:25Z
Releases: 13.0
Add unlikely() to CHECK_FOR_INTERRUPTS()

Add the unlikely() branch hint macro to CHECK_FOR_INTERRUPTS().
Backpatch to REL_10_STABLE where we first started using unlikely().

Discussion: https://www.postgresql.org/message-id/flat/8692553c-7fe8-17d9-cbc1-7cddb758f4c6%40joeconway.com

Files

PathChange+/−
src/include/miscadmin.h modified +3 −3

Discussion