Henson Choi <assam258(at)gmail(dot)com> writes:
> Before you decide on committing, I would like a few more days to
> review the series further.
Sure, no urgency.
> PS: Longer term, trim is spread over physical fields (memtupdeleted,
> rowstrimmed, truncated) that differ by storage state, and once the
> store spills to a file, later trims record nothing, so nothing stops
> a seek back below them.
Good point. One thing I wondered about after sending v4 was whether
the definition of rowstrimmed should change to be the total number of
rows trimmed all the time (so that even before dumptuples, it would
include memtupdeleted). I think this would make some parts simpler
and others less so. But it feels like it might be conceptually
cleaner that way. If you want to investigate that please do.
regards, tom lane