pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()

From: Joe Conway <mail(at)joeconway(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()
Date: 2020-06-05 20:51:04
Message-ID: E1jhJIu-0002i9-1s@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c5262cfd59cb0b1f1d2adb2131b9c1c1102be055

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-06-05 20:56:07 pgsql: Improve ineq_histogram_selectivity's behavior for non-default or
Previous Message Joe Conway 2020-06-05 20:51:01 pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()