Robert Haas <robertmhaas@gmail.com> writes:
> I was thinking about full-page writes again tonight. I'm still
> wondering about the feasibility of getting rid of full-page writes for
> certain operations. We can do this, I think, in any case where we can
> convince ourselves that if the original operation, or a redo of the
> original operation, leaves behind a torn page, a subsequent redo will
> still DTRT.
> I think that both tuple freezing (XLOG_HEAP2_FREEZE) and heap
> deletions (XLOG_HEAP_DELETE) are close to having this property.
Say what? A heap deletion compacts the page --- it will certainly fail
badly on torn-page.
regards, tom lane