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

Lines changed: 3 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy