Re: [HACKERS] rewrite of RECENTLY DEAD tuples

2011-02-17 Thread Noah Misch
On Thu, Feb 17, 2011 at 09:38:51AM +0100, Benjamin S. wrote: > ATRewriteTable in tablecmds.c uses SnapshotNow to rewrite and thus > does not copy RECENTLY DEAD tuples. But copy_heap_data in cluster.c > uses SnapshotAny and copys RECENTLY DEAD tuples to the new heap > file. > > I don't understand w

[HACKERS] rewrite of RECENTLY DEAD tuples

2011-02-17 Thread Benjamin S.
Hello list, ATRewriteTable in tablecmds.c uses SnapshotNow to rewrite and thus does not copy RECENTLY DEAD tuples. But copy_heap_data in cluster.c uses SnapshotAny and copys RECENTLY DEAD tuples to the new heap file. I don't understand why it is not needed in the first case. In the second case I