Skip site navigation (1) Skip section navigation (2)

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

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 callpath
Date: 2012-03-21 01:26:54
Message-ID: E1SAAKE-0004V1-JY@gemulon.postgresql.org (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group