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:50:56
Message-ID: E1jhJIm-0002gu-6k@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
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Joe Conway 2020-06-05 20:50:59 pgsql: Add unlikely() to CHECK_FOR_INTERRUPTS()
Previous Message Tom Lane 2020-06-05 20:19:27 pgsql: Use query collation, not column's collation, while examining sta