mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add CHECK_FOR_INTERRUPTS() in various strategic spots, per comments
from Hiroshi.
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.86 2001/11/23 23:41:54 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtree.c,v 1.87 2002/01/06 00:37:43 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -596,6 +596,8 @@ btbulkdelete(PG_FUNCTION_ARGS)
|
||||
IndexTuple itup;
|
||||
ItemPointer htup;
|
||||
|
||||
CHECK_FOR_INTERRUPTS();
|
||||
|
||||
/* current is the next index tuple */
|
||||
blkno = ItemPointerGetBlockNumber(current);
|
||||
offnum = ItemPointerGetOffsetNumber(current);
|
||||
|
Reference in New Issue
Block a user