pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS() - Mailing list pgsql-committers

From Joe Conway
Subject pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()
Date
Msg-id E1jhJIm-0002gu-6k@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/87fb04af1e705b615ac01feba958f841ea4a71a6

Modified Files
--------------
src/include/miscadmin.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Use query collation, not column's collation, while examining sta
Next
From: Joe Conway
Date:
Subject: pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()