mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Re-Align *_freeze_max_age reloption limits with corresponding GUC limits.
In020235a575I lowered the autovacuum_*freeze_max_age minimums to allow for easier testing of wraparounds. I did not touch the corresponding per-table limits. While those don't matter for the purpose of wraparound, it seems more consistent to lower them as well. It's noteworthy that the previous reloption lower limit for autovacuum_multixact_freeze_max_age was too high by one magnitude, even before020235a575. Discussion: 26377.1443105453@sss.pgh.pa.us Backpatch: back to 9.0 (in parts), like the prior patch
This commit is contained in:
		@@ -176,7 +176,7 @@ static relopt_int intRelOpts[] =
 | 
				
			|||||||
			"Age at which to autovacuum a table to prevent transaction ID wraparound",
 | 
								"Age at which to autovacuum a table to prevent transaction ID wraparound",
 | 
				
			||||||
			RELOPT_KIND_HEAP | RELOPT_KIND_TOAST
 | 
								RELOPT_KIND_HEAP | RELOPT_KIND_TOAST
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		-1, 100000000, 2000000000
 | 
							-1, 100000, 2000000000
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
@@ -184,7 +184,7 @@ static relopt_int intRelOpts[] =
 | 
				
			|||||||
			"Multixact age at which to autovacuum a table to prevent multixact wraparound",
 | 
								"Multixact age at which to autovacuum a table to prevent multixact wraparound",
 | 
				
			||||||
			RELOPT_KIND_HEAP | RELOPT_KIND_TOAST
 | 
								RELOPT_KIND_HEAP | RELOPT_KIND_TOAST
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		-1, 100000000, 2000000000
 | 
							-1, 10000, 2000000000
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user