Ensure we MarkBufferDirty before visibilitymap_set()
logs the heap page and sets the LSN. Otherwise a
checkpoint could occur between those actions and
leave us in an inconsistent state.

Jeff Davis

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/730924397c8151c3cf34e633211cd0fe4a0db112

Modified Files
--------------
src/backend/commands/vacuumlazy.c |   47 ++++++++++++++++++++----------------
1 files changed, 26 insertions(+), 21 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to