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 88 *
99 *
1010 * 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 $
1212 *
1313 *-------------------------------------------------------------------------
1414 */
@@ -694,21 +694,14 @@ InvalidateBuffer(volatile BufferDesc *buf)
694694 BufTableDelete (& oldTag , oldHash );
695695
696696 /*
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.
701698 */
702- HOLD_INTERRUPTS ();
703-
704699 LWLockRelease (oldPartitionLock );
705700
706701 /*
707702 * Insert the buffer at the head of the list of free buffers.
708703 */
709704 StrategyFreeBuffer (buf , true);
710-
711- RESUME_INTERRUPTS ();
712705}
713706
714707/*
You can’t perform that action at this time.
0 commit comments