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

Commit4c63b1f

Browse files
committed
Prevent autovacuum from zeroing damaged pages.
1 parent7d40942 commit4c63b1f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/backend/postmaster/autovacuum.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.12 2006/03/05 15:58:35 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/postmaster/autovacuum.c,v 1.13 2006/03/06 05:14:19 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -125,6 +125,9 @@ autovac_start(void)
125125
if (!AutoVacuumingActive())
126126
return0;
127127

128+
/* Even if zero_damaged_pages is true, we don't want autovacuum zeroing. */
129+
zero_damaged_pages= false;
130+
128131
/*
129132
* Do nothing if too soon since last autovacuum exit. This limits how
130133
* often the daemon runs. Since the time per iteration can be quite

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp