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

Commit da3418c

Browse files
committed
Mention pg_upgrade sets autovacuum_freeze_max_age to maximum.
1 parent d609b08 commit da3418c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pg_upgrade/server.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ start_postmaster(ClusterInfo *cluster, bool quiet)
172172
*
173173
* Using autovacuum=off disables cleanup vacuum and analyze, but
174174
* freeze vacuums can still happen, so we set
175-
* autovacuum_freeze_max_age very high. We assume all datfrozenxid and
176-
* relfrozen values are less than a gap of 2000000000 from the current
175+
* autovacuum_freeze_max_age to its maximum. We assume all datfrozenxid
176+
* and relfrozen values are less than a gap of 2000000000 from the current
177177
* xid counter, so autovacuum will not touch them.
178178
*/
179179
snprintf(cmd, sizeof(cmd),

0 commit comments

Comments
 (0)