Add unlikely() to CHECK_FOR_INTERRUPTS()

Joe Conway <mail@joeconway.com>

Commit: c5262cfd59cb0b1f1d2adb2131b9c1c1102be055
Author: Joe Conway <mail@joeconway.com>
Date: 2020-06-05T20:49:35Z
Releases: 10.14
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