Re: tuptoaster.c must *not* use SnapshotAny - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: tuptoaster.c must *not* use SnapshotAny
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA42128C6@m0114.s-mxs.net
Whole thread Raw
In response to tuptoaster.c must *not* use SnapshotAny  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: tuptoaster.c must *not* use SnapshotAny  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > I am concerned about the case where VACUUM FULL:
> > 1. inserts heap tuple to new location using FrozenXid
> > 2. updates original heap tuples's xmax
> 
> It doesn't matter whether it's FrozenXid or not.  The tuple is not
> visible if it's got the wrong setting of HEAP_MOVED_OFF/IN.

But the FrozenXid tuple has HEAP_MOVED_IN and the original has
not yet been altered to HEAP_MOVED_OFF because of abort.
Is the HEAP_MOVED_IN tuple not visible ?

Andreas


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: tuptoaster.c must *not* use SnapshotAny
Next
From: Gavin Sherry
Date:
Subject: can't shrink relation