pgsql: Dept of second thoughts: the !scan_all exit mustn't increase sca

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Dept of second thoughts: the !scan_all exit mustn't increase sca
Дата
Msg-id E1aEPIA-0007iT-BD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Dept of second thoughts: the !scan_all exit mustn't increase scanned_pages.

In the extreme edge case where contended pages are the only ones that
escape being scanned, the previous commit would have allowed us to think
that relfrozenxid could be advanced, which is exactly wrong.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e5d06f2b12a7c75f2b0c7fd2055a14efaa2b59ec

Modified Files
--------------
src/backend/commands/vacuumlazy.c |   14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid useless truncation attempts during VACUUM.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix ALTER OPERATOR to update dependencies properly.