git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f204274) | patch
Marginal cleanup in arrangements for ensuring StrategyHintVacuum is cleared
2006年9月17日 22:16:22 +0000 (22:16 +0000)
2006年9月17日 22:16:22 +0000 (22:16 +0000)
commit 2e5e856f6b4f4e7445ec4b14fc4504469f6f4f54
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.
src/backend/commands/vacuum.c diff | blob | blame | history
src/backend/storage/buffer/bufmgr.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /