Re: Doubts about EvalPlanQual

From: "Jacky Leng" <lengjianquan(at)163(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Doubts about EvalPlanQual
Date: 2009-02-19 10:35:21
Message-ID: gnjcl7$14od$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Tuples with an aborted xmin can be vacuumed right away. When we're
> following the update chain in EvalPlanQual, it's possible that the updater
> has aborted, the updated dead tuple is vacuumed away, and the slot is
> reused for another unrelated tuple.

But if the updater aborted, how can EvalPlanQual be called?
In this situation (updater aborted), EvalPlanQual's caller (such as
ExecUpdate and ExecDelete)
should get "HeapTupleMayBeUpdated", rather than "HeapTupleUpdated".

Am I right?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Max 2009-02-19 11:17:06 [Fwd: Re: PostgreSQL Translation - PL/pgSQL current]
Previous Message Heikki Linnakangas 2009-02-19 08:31:22 Re: Doubts about EvalPlanQual