Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit16e5859

Browse files
committed
Allow free space map vacuuming to be interrupted.
1 parent95289e4 commit16e5859

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
intchild_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)

[8]ページ先頭

©2009-2025 Movatter.jp