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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add some CHECK_FOR_INTERRUPTS() calls to the heap-sort call path
Date: 2012-03-21 01:26:54
Message-ID: E1SAAKE-0004V1-JY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2012-03-21 07:10:28 Re: [COMMITTERS] pgsql: Improve the -l (limit) option recently added to contrib/vacuumlo
Previous Message Tom Lane 2012-03-20 23:05:58 pgsql: Improve the -l (limit) option recently added to contrib/vacuumlo