Skip to content
Snippets Groups Projects
Commit 2e5e856f authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent f2042741
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment