Re: repeat() function, CHECK_FOR_INTERRUPTS(), and unlikely()

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joe Conway <mail@joeconway.com>
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Date: 2020-05-25T13:52:13Z
Lists: pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
>> Comments or objections?

> Seeing none ... I intend to backpatch and push these two patches in the next day
> or so.

There was some question as to what (if anything) to do with the Windows
version of CHECK_FOR_INTERRUPTS.  Have you resolved that?

			regards, tom lane



Commits

  1. Add unlikely() to CHECK_FOR_INTERRUPTS()

  2. Add CHECK_FOR_INTERRUPTS() to the repeat() function