File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
src/backend/storage/buffer Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/storage/buffer/bufmgr.c,v 1.212 2006/10/04 00:29:57 momjian Exp $
11
+ * $PostgreSQL: pgsql/src/backend/storage/buffer/bufmgr.c,v 1.213 2006/10/22 20:34:54 tgl Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -694,21 +694,14 @@ InvalidateBuffer(volatile BufferDesc *buf)
694
694
BufTableDelete (& oldTag , oldHash );
695
695
696
696
/*
697
- * Avoid accepting a cancel interrupt when we release the mapping lock;
698
- * that would leave the buffer free but not on the freelist. (Which would
699
- * not be fatal, since it'd get picked up again by the clock scanning
700
- * code, but we'd rather be sure it gets to the freelist.)
697
+ * Done with mapping lock.
701
698
*/
702
- HOLD_INTERRUPTS ();
703
-
704
699
LWLockRelease (oldPartitionLock );
705
700
706
701
/*
707
702
* Insert the buffer at the head of the list of free buffers.
708
703
*/
709
704
StrategyFreeBuffer (buf , true);
710
-
711
- RESUME_INTERRUPTS ();
712
705
}
713
706
714
707
/*
You can’t perform that action at this time.
0 commit comments