pgsql: Marginal cleanup in arrangements for ensuring StrategyHintVacuum

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Marginal cleanup in arrangements for ensuring StrategyHintVacuum
Дата
Msg-id 20060917221623.381E29FA435@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Marginal cleanup in arrangements for ensuring StrategyHintVacuum is cleared
after an error during VACUUM.  We have a PG_TRY block anyway around the only
call sites, so just reset it in the CATCH clause instead of having
AtEOXact_Buffers blindly do it during xact end.  I think the old code was
actively wrong for the case of a failure during ANALYZE inside a
subtransaction --- the flag wouldn't get cleared until main transaction end.
Probably not worth back-patching though.

Modified Files:
--------------
    pgsql/src/backend/commands:
        vacuum.c (r1.338 -> r1.339)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/vacuum.c.diff?r1=1.338&r2=1.339)
    pgsql/src/backend/storage/buffer:
        bufmgr.c (r1.209 -> r1.210)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/bufmgr.c.diff?r1=1.209&r2=1.210)

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

Предыдущее
От: gsmet@pgfoundry.org (User Gsmet)
Дата:
Сообщение: pgfouine - pgfouine: changed source URL to a fixed one
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Change ANALYZE to take ShareUpdateExclusiveLock not