> Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> > Probably VACUUM works well for small to medium size tables, but not
> > for huge ones. I'm considering about to implement "on the spot
> > salvaging dead tuples".
>
> That's impossible on its face, except for the special case where the
> same transaction inserts and deletes a tuple. In all other cases, the
> transaction deleting a tuple cannot know whether it will commit.
Of course. We need to keep a list of such that tuples until commit or
abort.
--
Tatsuo Ishii