]> granicus.if.org Git - postgresql/commit
Ensure we MarkBufferDirty before visibilitymap_set()
authorSimon Riggs <simon@2ndQuadrant.com>
Tue, 30 Apr 2013 07:15:49 +0000 (08:15 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Tue, 30 Apr 2013 07:15:49 +0000 (08:15 +0100)
commit730924397c8151c3cf34e633211cd0fe4a0db112
tree52d6339ce9f3aa1038107ce24ee7d8993f790aa2
parentfdea2530bd4afb3d512cb9700b1d8cd603fab0e7
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
src/backend/commands/vacuumlazy.c