]> granicus.if.org Git - postgresql/commit
Add some CHECK_FOR_INTERRUPTS() calls to the heap-sort call path.
authorRobert Haas <rhaas@postgresql.org>
Wed, 21 Mar 2012 01:00:11 +0000 (21:00 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 21 Mar 2012 01:26:39 +0000 (21:26 -0400)
commitaefa6d163e21391626c20a508af33373d6ba387e
tree53e0cb56a7c5dcbe721cd30eae64903d6908aed4
parent64c604898e812aa93c124c666e8709fff1b8dd26
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.
src/backend/utils/sort/tuplesort.c