Possible work-around for 9.1 partial vacuum bug? - Mailing list pgsql-hackers

From Jim Nasby
Subject Possible work-around for 9.1 partial vacuum bug?
Date
Msg-id 52A4E5B3.6020400@nasby.net
Whole thread Raw
Responses Re: Possible work-around for 9.1 partial vacuum bug?
List pgsql-hackers
If I'm understanding the vacuum truncate bug correctly, it can be avoided if every 2^31 transactions[1] you:

SET vacuum_freeze_table_age = 0;
VACUUM FREEZE;

table_age = 0 disables partial vacuum and then everything[1] gets frozen, eliminating the risk. Or am I missing
something?

[1]: Obviously open transactions mean 2^31 isn't exact.
-- 
Jim C. Nasby, Data Architect                       jim@nasby.net
512.569.9461 (cell)                         http://jim.nasby.net



pgsql-hackers by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: ANALYZE sampling is too good
Next
From: Michael Paquier
Date:
Subject: Re: Possible work-around for 9.1 partial vacuum bug?