Add unlikely() to CHECK_FOR_INTERRUPTS()

Joe Conway <mail@joeconway.com>

Commit: 3cbf4be3e0eb36ce9e433c5bb1f0517f69a3fecc
Author: Joe Conway <mail@joeconway.com>
Date: 2020-06-05T20:49:32Z
Releases: 11.9
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