mirror of https://github.com/postgres/postgres
Blocking checkpoint phase 2 requires MarkBufferDirty() and BUFFER_LOCK_EXCLUSIVE; neither suffices by itself. transam/README documents this, citing SyncOneBuffer(). Update the DELAY_CHKPT_START documentation to say this. Expand the heap_inplace_update_and_unlock() comment that cites XLogSaveBufferForHint() as precedent, since heap_inplace_update_and_unlock() could have opted not to use DELAY_CHKPT_START. Commitpull/211/head8e7e672cdaadded DELAY_CHKPT_START to heap_inplace_update_and_unlock(). Since commitbc6bad8857reverted it in non-master branches, no back-patch. Discussion: https://postgr.es/m/20250406180054.26.nmisch@google.com
parent
714bd9e3a7
commit
8180136652
Loading…
Reference in new issue