Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 16e5859

Browse files
committed
Allow free space map vacuuming to be interrupted.
1 parent 95289e4 commit 16e5859

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/storage/freespace/freespace.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.74 2010/01/02 16:57:51 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/freespace/freespace.c,v 1.75 2010/02/09 00:28:57 tgl Exp $
1212
*
1313
*
1414
* NOTES:
@@ -749,6 +749,8 @@ fsm_vacuum_page(Relation rel, FSMAddress addr, bool *eof_p)
749749
{
750750
int child_avail;
751751

752+
CHECK_FOR_INTERRUPTS();
753+
752754
/* After we hit end-of-file, just clear the rest of the slots */
753755
if (!eof)
754756
child_avail = fsm_vacuum_page(rel, fsm_get_child(addr, slot), &eof);

0 commit comments

Comments
 (0)