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(-)
pgsql-committers by date
| Next: | From: Heikki Linnakangas | Date: 2012-03-21 07:10:28 |
| Subject: Re: [COMMITTERS] pgsql: Improve the -l (limit) option recently added
to contrib/vacuumlo |
| Previous: | From: Tom Lane | Date: 2012-03-20 23:05:58 |
| Subject: pgsql: Improve the -l (limit) option recently added tocontrib/vacuumlo |