Thread: pgsql: Add some CHECK_FOR_INTERRUPTS() calls to the heap-sort call path

pgsql: Add some CHECK_FOR_INTERRUPTS() calls to the heap-sort call path

From
Robert Haas
Date:
Add some CHECK_FOR_INTERRUPTS() calls to the heap-sort call path.

I broke this in commit 337b6f5ecf05b21b5e997986884d097d60e4e3d0, which
among other things arranged for quicksorts to CHECK_FOR_INTERRUPTS()
slightly less frequently.  Sadly, it also arranged for heapsorts to
CHECK_FOR_INTERRUPTS() much less frequently.  Repair.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/aefa6d163e21391626c20a508af33373d6ba387e

Modified Files
--------------
src/backend/utils/sort/tuplesort.c |    7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)