Bug in autovacuum.c?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Bug in autovacuum.c?
Дата
Msg-id 201103311617.p2VGHnp15496@momjian.us
обсуждение исходный текст
Ответы Re: Bug in autovacuum.c?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Looking over the autovacuum.c code, I see:
   /*    * Determine the oldest datfrozenxid/relfrozenxid that we will allow to    * pass without forcing a vacuum.
(Thislimit can be tightened for    * particular tables, but not loosened.)    */   recentXid = ReadNewTransactionId();
xidForceLimit = recentXid - autovacuum_freeze_max_age;   /* ensure it's a "normal" XID, else TransactionIdPrecedes
misbehaves*/   if (xidForceLimit < FirstNormalTransactionId)       xidForceLimit -= FirstNormalTransactionId;
 

This last line doesn't look right to me;  should it be:
       xidForceLimit = FirstNormalTransactionId;

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Libpq PGRES_COPY_BOTH - version compatibility
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Problem with pg_upgrade?