Re: tuptoaster.c must *not* use SnapshotAny

From: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Jan Wieck" <JanWieck(at)Yahoo(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tuptoaster.c must *not* use SnapshotAny
Date: 2002-01-17 14:12:52
Message-ID: 46C15C39FEB2C44BA555E356FBCD6FA42128C6@m0114.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-01-17 14:22:36 Re: tuptoaster.c must *not* use SnapshotAny
Previous Message Tom Lane 2002-01-17 14:08:03 Re: tuptoaster.c must *not* use SnapshotAny