Re: Testing autovacuum wraparound (including failsafe) - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: Testing autovacuum wraparound (including failsafe)
Date
Msg-id 20210423230812.GN7256@telsasoft.com
Whole thread Raw
In response to Testing autovacuum wraparound (including failsafe)  (Andres Freund <andres@anarazel.de>)
Responses Re: Testing autovacuum wraparound (including failsafe)
List pgsql-hackers
On Fri, Apr 23, 2021 at 01:43:06PM -0700, Andres Freund wrote:
> 2) FAILSAFE_MIN_PAGES is 4GB - which seems to make it infeasible to test the
>    failsafe mode, we can't really create 4GB relations on the BF. While
>    writing the tests I've lowered this to 4MB...

> For 2), I don't really have a better idea than making that configurable
> somehow?

Does it work to shut down the cluster and create the .0,.1,.2,.3 segments of a
new, empty relation with zero blocks using something like truncate -s 1G ?

-- 
Justin



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: PageGetItemIdCareful - should we MAXALIGN sizeof(BTPageOpaqueData)?
Next
From: Peter Geoghegan
Date:
Subject: Re: Testing autovacuum wraparound (including failsafe)