Alvaro Herrera <alvhe...@commandprompt.com> writes:
> Fujii Masao escribió:
>> In HEAD, when autovacuum is disabled, autovacuum process is not
>> launched forcibly to prevent XID wraparound even if we go through
>> autovacuum_freeze_max_age. This seems to be because
>> ShmemVariableCache->xidVacLimit is not initialized (i.e.,
>> SetTransactionIdLimit() is not called) until VACUUM is performed.
>> 
>> OTOH, in older version, ShmemVariableCache->xidVacLimit is always
>> initialized when backend updates the flat database file, and then
>> autovacuum process seems to be launched forcibly as expected.

> Hmm.  Yeah, this is a serious problem.

I thought I had put in some workaround for that when I did the flat
file changes.  I don't remember what though, and it's evidently
broken now in any case.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to